Compare commits

..

No commits in common. "c8" and "c9s" have entirely different histories.
c8 ... c9s

16 changed files with 7977 additions and 4544 deletions

View File

@ -1 +0,0 @@
c91cb60fc3074312b1dfc13c47634b77cd5c1999 SOURCES/anaconda-33.16.10.5.tar.bz2

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

360
.gitignore vendored
View File

@ -1 +1,359 @@
SOURCES/anaconda-33.16.10.5.tar.bz2 /anaconda-22.1.tar.bz2
/anaconda-22.2.tar.bz2
/anaconda-22.3.tar.bz2
/anaconda-22.4.tar.bz2
/anaconda-22.6.tar.bz2
/anaconda-22.7.tar.bz2
/anaconda-22.8.tar.bz2
/anaconda-22.9.tar.bz2
/anaconda-22.10.tar.bz2
/anaconda-22.11.tar.bz2
/anaconda-22.12.tar.bz2
/anaconda-22.13.tar.bz2
/anaconda-22.14.tar.bz2
/anaconda-22.15.tar.bz2
/anaconda-22.16.tar.bz2
/anaconda-22.17.tar.bz2
/anaconda-22.18.tar.bz2
/anaconda-22.19.tar.bz2
/anaconda-22.20.tar.bz2
/anaconda-23.0.tar.bz2
/anaconda-23.1.tar.bz2
/anaconda-23.2.tar.bz2
/anaconda-23.3.tar.bz2
/anaconda-23.4.tar.bz2
/anaconda-23.5.tar.bz2
/anaconda-23.6.tar.bz2
/anaconda-23.7.tar.bz2
/anaconda-23.8.tar.bz2
/anaconda-23.9.tar.bz2
/anaconda-23.10.tar.bz2
/anaconda-23.11.tar.bz2
/anaconda-23.12.tar.bz2
/anaconda-23.13.tar.bz2
/anaconda-23.14.tar.bz2
/anaconda-23.15.tar.bz2
/anaconda-23.16.tar.bz2
/anaconda-23.17.tar.bz2
/anaconda-23.18.tar.bz2
/anaconda-23.19.tar.bz2
/anaconda-23.20.tar.bz2
/anaconda-24.0.tar.bz2
/anaconda-24.1.tar.bz2
/anaconda-24.2.tar.bz2
/anaconda-24.3.tar.bz2
/anaconda-24.4.tar.bz2
/anaconda-24.5.tar.bz2
/anaconda-24.6.tar.bz2
/anaconda-24.7.tar.bz2
/anaconda-24.8.tar.bz2
/anaconda-24.9.tar.bz2
/anaconda-24.10.tar.bz2
/anaconda-24.11.tar.bz2
/anaconda-24.12.tar.bz2
/anaconda-24.13.tar.bz2
/anaconda-25.0.tar.bz2
/anaconda-25.1.tar.bz2
/anaconda-25.2.tar.bz2
/anaconda-25.3.tar.bz2
/anaconda-25.4.tar.bz2
/anaconda-25.5.tar.bz2
/anaconda-25.6.tar.bz2
/anaconda-25.7.tar.bz2
/anaconda-25.8.tar.bz2
/anaconda-25.9.tar.bz2
/anaconda-25.10.tar.bz2
/anaconda-25.11.tar.bz2
/anaconda-25.12.tar.bz2
/anaconda-25.13.tar.bz2
/anaconda-25.14.tar.bz2
/anaconda-25.15.tar.bz2
/anaconda-25.16.tar.bz2
/anaconda-25.17.tar.bz2
/anaconda-25.19.tar.bz2
/anaconda-25.20.tar.bz2
/anaconda-26.1.tar.bz2
/anaconda-26.2.tar.bz2
/anaconda-26.3.tar.bz2
/anaconda-26.4.tar.bz2
/anaconda-26.6.tar.bz2
/anaconda-26.7.tar.bz2
/anaconda-26.8.tar.bz2
/anaconda-26.9.tar.bz2
/anaconda-26.10.tar.bz2
/anaconda-26.11.tar.bz2
/anaconda-26.12.tar.bz2
/anaconda-26.13.tar.bz2
/anaconda-26.14.tar.bz2
/anaconda-26.15.tar.bz2
/anaconda-26.16.tar.bz2
/anaconda-26.17.tar.bz2
/anaconda-26.18.tar.bz2
/anaconda-26.19.tar.bz2
/anaconda-26.20.tar.bz2
/anaconda-26.21.tar.bz2
/anaconda-27.1.tar.bz2
/anaconda-27.2.tar.bz2
/anaconda-27.3.tar.bz2
/anaconda-27.4.tar.bz2
/anaconda-27.5.tar.bz2
/anaconda-27.6.tar.bz2
/anaconda-27.7.tar.bz2
/anaconda-27.8.tar.bz2
/anaconda-27.9.tar.bz2
/anaconda-27.10.tar.bz2
/anaconda-27.11.tar.bz2
/anaconda-27.12.tar.bz2
/anaconda-27.13.tar.bz2
/anaconda-27.14.tar.bz2
/anaconda-27.15.tar.bz2
/anaconda-27.16.tar.bz2
/anaconda-27.17.tar.bz2
/anaconda-27.18.tar.bz2
/anaconda-27.19.tar.bz2
/anaconda-27.20.tar.bz2
/anaconda-28.1.tar.bz2
/anaconda-28.2.tar.bz2
/anaconda-28.3.tar.bz2
/anaconda-28.4.tar.bz2
/anaconda-28.5.tar.bz2
/anaconda-28.6.tar.bz2
/anaconda-28.8.tar.bz2
/anaconda-28.9.tar.bz2
/anaconda-28.10.tar.bz2
/anaconda-28.11.tar.bz2
/anaconda-28.12.tar.bz2
/anaconda-28.13.tar.bz2
/anaconda-28.14.tar.bz2
/anaconda-28.15.tar.bz2
/anaconda-28.16.tar.bz2
/anaconda-28.17.tar.bz2
/anaconda-28.18.tar.bz2
/anaconda-28.19.tar.bz2
/anaconda-28.20.tar.bz2
/anaconda-28.22.tar.bz2
/anaconda-29.1.tar.bz2
/anaconda-29.2.tar.bz2
/anaconda-29.3.tar.bz2
/anaconda-29.4.tar.bz2
/anaconda-29.5.tar.bz2
/anaconda-29.6.tar.bz2
/anaconda-29.7.tar.bz2
/anaconda-29.8.tar.bz2
/anaconda-29.9.tar.bz2
/anaconda-29.10.tar.bz2
/anaconda-29.11.tar.bz2
/anaconda-29.12.tar.bz2
/anaconda-29.13.tar.bz2
/anaconda-29.14.tar.bz2
/anaconda-29.15.tar.bz2
/anaconda-29.16.tar.bz2
/anaconda-29.17.tar.bz2
/anaconda-29.18.tar.bz2
/anaconda-29.19.tar.bz2
/anaconda-29.20.tar.bz2
/anaconda-29.21.tar.bz2
/anaconda-29.22.tar.bz2
/anaconda-29.23.tar.bz2
/anaconda-29.24.tar.bz2
/anaconda-30.1.tar.bz2
/anaconda-30.2.tar.bz2
/anaconda-30.3.tar.bz2
/anaconda-30.4.tar.bz2
/anaconda-30.5.tar.bz2
/anaconda-30.6.tar.bz2
/anaconda-30.7.tar.bz2
/anaconda-30.8.tar.bz2
/anaconda-30.9.tar.bz2
/anaconda-30.10.tar.bz2
/anaconda-30.11.tar.bz2
/anaconda-30.12.tar.bz2
/anaconda-30.13.tar.bz2
/anaconda-30.14.tar.bz2
/anaconda-30.15.tar.bz2
/anaconda-30.16.tar.bz2
/anaconda-30.17.tar.bz2
/anaconda-30.18.tar.bz2
/anaconda-30.19.tar.bz2
/anaconda-30.20.tar.bz2
/anaconda-30.21.tar.bz2
/anaconda-30.22.tar.bz2
/anaconda-30.23.tar.bz2
/anaconda-30.25.tar.bz2
/anaconda-31.1.tar.bz2
/anaconda-31.2.tar.bz2
/anaconda-31.3.tar.bz2
/anaconda-31.4.tar.bz2
/anaconda-31.5.tar.bz2
/anaconda-31.6.tar.bz2
/anaconda-31.7.tar.bz2
/anaconda-31.8.tar.bz2
/anaconda-31.9.tar.bz2
/anaconda-31.10.tar.bz2
/anaconda-31.11.tar.bz2
/anaconda-31.12.tar.bz2
/anaconda-31.13.tar.bz2
/anaconda-31.14.tar.bz2
/anaconda-31.15.tar.bz2
/anaconda-31.16.tar.bz2
/anaconda-31.17.tar.bz2
/anaconda-31.18.tar.bz2
/anaconda-31.19.tar.bz2
/anaconda-31.20.tar.bz2
/anaconda-31.21.tar.bz2
/anaconda-31.22.tar.bz2
/anaconda-32.1.tar.bz2
/anaconda-32.2.tar.bz2
/anaconda-32.3.tar.bz2
/anaconda-32.4.tar.bz2
/anaconda-32.5.tar.bz2
/anaconda-32.6.tar.bz2
/anaconda-32.7.tar.bz2
/anaconda-32.8.tar.bz2
/anaconda-32.9.tar.bz2
/anaconda-32.10.tar.bz2
/anaconda-32.11.tar.bz2
/anaconda-32.12.tar.bz2
/anaconda-32.13.tar.bz2
/anaconda-32.14.tar.bz2
/anaconda-32.15.tar.bz2
/anaconda-32.16.tar.bz2
/anaconda-32.17.tar.bz2
/anaconda-32.18.tar.bz2
/anaconda-32.19.tar.bz2
/anaconda-32.20.tar.bz2
/anaconda-32.21.tar.bz2
/anaconda-32.22.tar.bz2
/anaconda-32.23.tar.bz2
/anaconda-32.24.tar.bz2
/anaconda-33.1.tar.bz2
/anaconda-33.2.tar.bz2
/anaconda-33.3.tar.bz2
/anaconda-33.4.tar.bz2
/anaconda-33.5.tar.bz2
/anaconda-33.6.tar.bz2
/anaconda-33.7.tar.bz2
/anaconda-33.8.tar.bz2
/anaconda-33.9.tar.bz2
/anaconda-33.10.tar.bz2
/anaconda-33.11.tar.bz2
/anaconda-33.12.tar.bz2
/anaconda-33.13.tar.bz2
/anaconda-33.14.tar.bz2
/anaconda-33.15.tar.bz2
/anaconda-33.17.tar.bz2
/anaconda-33.18.tar.bz2
/anaconda-33.19.tar.bz2
/anaconda-33.20.tar.bz2
/anaconda-33.21.tar.bz2
/anaconda-33.22.tar.bz2
/anaconda-33.23.tar.bz2
/anaconda-33.24.tar.bz2
/anaconda-33.25.tar.bz2
/anaconda-34.1.tar.bz2
/anaconda-34.2.tar.bz2
/anaconda-34.3.tar.bz2
/anaconda-34.4.tar.bz2
/anaconda-34.5.tar.bz2
/anaconda-34.6.tar.bz2
/anaconda-34.7.tar.bz2
/anaconda-34.8.tar.bz2
/anaconda-34.9.tar.bz2
/anaconda-34.10.tar.bz2
/anaconda-34.12.tar.bz2
/anaconda-34.13.tar.bz2
/anaconda-34.14.tar.bz2
/anaconda-34.15.tar.bz2
/anaconda-34.16.tar.bz2
/anaconda-34.17.tar.bz2
/anaconda-34.18.tar.bz2
/anaconda-34.19.tar.bz2
/anaconda-34.20.tar.bz2
/anaconda-34.21.tar.bz2
/anaconda-34.22.tar.bz2
/anaconda-34.23.tar.bz2
/anaconda-34.24.tar.bz2
/anaconda-34.24.1.tar.bz2
/anaconda-34.24.2.tar.bz2
/anaconda-34.24.3.tar.bz2
/anaconda-34.24.4.tar.bz2
/anaconda-34.24.5.tar.bz2
/anaconda-34.24.6.tar.bz2
/anaconda-34.24.7.tar.bz2
/anaconda-34.24.8.tar.bz2
/anaconda-34.25.0.1.tar.bz2
/anaconda-34.25.0.2.tar.bz2
/anaconda-34.25.0.3.tar.bz2
/anaconda-34.25.0.4.tar.bz2
/anaconda-34.25.0.5.tar.bz2
/anaconda-34.25.0.6.tar.bz2
/anaconda-34.25.0.7.tar.bz2
/anaconda-34.25.0.8.tar.bz2
/anaconda-34.25.0.9.tar.bz2
/anaconda-34.25.0.10.tar.bz2
/anaconda-34.25.0.11.tar.bz2
/anaconda-34.25.0.12.tar.bz2
/anaconda-34.25.0.13.tar.bz2
/anaconda-34.25.0.14.tar.bz2
/anaconda-34.25.0.15.tar.bz2
/anaconda-34.25.0.16.tar.bz2
/anaconda-34.25.0.17.tar.bz2
/anaconda-34.25.0.18.tar.bz2
/anaconda-34.25.0.19.tar.bz2
/anaconda-34.25.0.20.tar.bz2
/anaconda-34.25.0.21.tar.bz2
/anaconda-34.25.0.22.tar.bz2
/anaconda-34.25.0.23.tar.bz2
/anaconda-34.25.0.24.tar.bz2
/anaconda-34.25.0.25.tar.bz2
/anaconda-34.25.0.26.tar.bz2
/anaconda-34.25.0.27.tar.bz2
/anaconda-34.25.1.1.tar.bz2
/anaconda-34.25.1.2.tar.bz2
/anaconda-34.25.1.3.tar.bz2
/anaconda-34.25.1.4.tar.bz2
/anaconda-34.25.1.5.tar.bz2
/anaconda-34.25.1.6.tar.bz2
/anaconda-34.25.1.7.tar.bz2
/anaconda-34.25.1.8.tar.bz2
/anaconda-34.25.1.9.tar.bz2
/anaconda-34.25.1.10.tar.bz2
/anaconda-34.25.1.11.tar.bz2
/anaconda-34.25.1.12.tar.bz2
/anaconda-34.25.1.13.tar.bz2
/anaconda-34.25.1.14.tar.bz2
/anaconda-34.25.2.1.tar.bz2
/anaconda-34.25.2.2.tar.bz2
/anaconda-34.25.2.3.tar.bz2
/anaconda-34.25.2.4.tar.bz2
/anaconda-34.25.2.5.tar.bz2
/anaconda-34.25.2.6.tar.bz2
/anaconda-34.25.2.7.tar.bz2
/anaconda-34.25.2.8.tar.bz2
/anaconda-34.25.2.9.tar.bz2
/anaconda-34.25.2.10.tar.bz2
/anaconda-34.25.3.1.tar.bz2
/anaconda-34.25.3.2.tar.bz2
/anaconda-34.25.3.3.tar.bz2
/anaconda-34.25.3.4.tar.bz2
/anaconda-34.25.3.5.tar.bz2
/anaconda-34.25.3.6.tar.bz2
/anaconda-34.25.3.7.tar.bz2
/anaconda-34.25.3.8.tar.bz2
/anaconda-34.25.4.1.tar.bz2
/anaconda-34.25.4.2.tar.bz2
/anaconda-34.25.4.3.tar.bz2
/anaconda-34.25.4.4.tar.bz2
/anaconda-34.25.4.5.tar.bz2
/anaconda-34.25.4.6.tar.bz2
/anaconda-34.25.4.7.tar.bz2
/anaconda-34.25.5.1.tar.bz2
/anaconda-34.25.5.3.tar.bz2
/anaconda-34.25.5.5.tar.bz2
/anaconda-34.25.5.6.tar.bz2
/anaconda-34.25.5.7.tar.bz2
/anaconda-34.25.5.8.tar.bz2
/anaconda-34.25.5.9.tar.bz2
/anaconda-34.25.5.10.tar.bz2
/anaconda-34.25.5.11.tar.bz2
/anaconda-34.25.5.12.tar.bz2

52
.packit.yml Normal file
View File

@ -0,0 +1,52 @@
# ======================================
# WARNING!
# THIS FILE IS GENERATED FROM A TEMPLATE
# DO NOT EDIT THIS FILE MANUALLY!
# ======================================
# The template is located in: .packit.yml.j2
specfile_path: anaconda.spec
upstream_package_name: anaconda
upstream_tag_template: anaconda-{version}
copy_upstream_release_description: true
downstream_package_name: anaconda
srpm_build_deps:
- automake
- autoconf
- autogen
- glib2-devel
- gettext-devel
- python3-polib
- gobject-introspection-devel
- glade-devel
- libxklavier-devel
- libarchive-devel
- rpm-devel
- nss_wrapper
- nodejs-npm
packages:
anaconda-fedora:
specfile_path: anaconda.spec
anaconda-centos:
specfile_path: anaconda.spec
pkg_tool: centpkg
actions:
post-upstream-clone:
- ./autogen.sh
- ./configure
create-archive:
- "make release"
- 'bash -c "ls -1 anaconda-*.tar.bz2"'
jobs:
- job: propose_downstream
trigger: release
# Tarballs are not uploaded to GitLab PR on CentOS (https://github.com/packit/packit-service/issues/2436)
manual_trigger: True
packages: [anaconda-centos]
dist_git_branches: c9s

3
README.packit Normal file
View File

@ -0,0 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 0.102.2.

File diff suppressed because it is too large Load Diff

7403
anaconda.spec Normal file

File diff suppressed because it is too large Load Diff

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: rtt.gating.functional}

12
plans/integration.fmf Normal file
View File

@ -0,0 +1,12 @@
summary: Integration tests for anaconda
discover:
how: fmf
filter: 'tag: integration'
execute:
how: tmt
finish:
how: shell
script: command -v journalctl && journalctl -a || true

12
rpminspect.yaml Normal file
View File

@ -0,0 +1,12 @@
# rpminspect profile for Anaconda
---
inspections:
# The icon org.fedoraproject.AnacondaInstaller is part of
# fedora-logos package
desktop: off
changedfiles:
# Ignore updated translations
ignore:
- /usr/share/locale/*/LC_MESSAGES/anaconda.mo

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (anaconda-34.25.5.12.tar.bz2) = 5d1720bf94eb2b9f6b5cbd796ce52b4e4fee3416f5b88066ba5a79338b127409c29b5a25c97e0ea9185a7518968396de577fe9606b68898eccb044a7b1acd4db

View File

@ -0,0 +1,22 @@
summary: Dirinstall test on regular os
contact: Radek Vykydal <rvykydal@redhat.com>
path: /tests/dirinstall
test: ./dirinstall.sh
duration: 1h
tag: [integration]
/text:
summary: Dirinstall test on regular os - text UI
require:
- anaconda
environment:
ANACONDA_UI_MODE: text
/vnc:
summary: Dirinstall test on regular os - vnc UI
enabled: false
require:
- anaconda
- gnome-kiosk
environment:
ANACONDA_UI_MODE: vnc

64
tests/dirinstall/dirinstall.sh Executable file
View File

@ -0,0 +1,64 @@
#!/bin/sh -eux
# Prepare test work directory
WORK_DIR=$(mktemp -d /var/tmp/dirinstall.XXXXXX)
# Create kickstart
KICKSTART_PATH=${WORK_DIR}/ks.cfg
. ./repositories
TEST_KICKSTART=./ks.dirinstall.cfg
echo "==== List of repositories ===="
dnf repoinfo
echo "== End list of repositories =="
if grep -q 'NAME="CentOS Stream"' /etc/os-release ; then
BASE_REPO="$STREAM_BASE_REPO"
APP_REPO="$STREAM_APP_REPO"
else
BASE_REPO="$RHEL_BASE_REPO"
APP_REPO="$RHEL_APP_REPO"
fi
get_base_url () {
REPO="$1"
# This will show repository content and get url from this:
# Repo-baseurl : http://ftp.sh.cvut.cz/centos-stream/9-stream/BaseOS/x86_64/os/ (51 more)
dnf repoinfo "$REPO" | \
grep ^Repo-baseurl | \
cut -d: -f2- | \
sed 's/^ *//' | \
cut -d' ' -f1
}
# Dump URLs of installation repositories found in local repositories whose names are configured in 'repositories' file
echo "url --url=$(get_base_url $BASE_REPO)" > ${KICKSTART_PATH}
echo "repo --name=$APP_REPO --baseurl=$(get_base_url $APP_REPO)" >> ${KICKSTART_PATH}
cat ${TEST_KICKSTART} >> ${KICKSTART_PATH}
# Log the kickstart
cat ${KICKSTART_PATH}
# Run dirinstall
INSTALL_DIR=${WORK_DIR}/install_dir
mkdir ${INSTALL_DIR}
anaconda --dirinstall ${INSTALL_DIR} --kickstart ${KICKSTART_PATH} --${ANACONDA_UI_MODE} --noninteractive 2>&1
# Remove test work directory
rm -rf ${WORK_DIR}
# Show and remove the logs for this anaconda run
./show_logs.sh

View File

@ -0,0 +1,12 @@
# The repository configuration (url, repo) needs to be added here.
# It varies by the product and version we are running on / testing
lang en_US.UTF-8
keyboard --vckeymap=us --xlayouts='us'
rootpw --plaintext redhat
timezone --utc Europe/Prague
shutdown
%packages
%end

View File

@ -0,0 +1,8 @@
# Names of local repositories whose urls will be used for installation
# Repositories for rhel in gating testing environment (vm image):
RHEL_BASE_REPO="rhel-BaseOS"
RHEL_APP_REPO="rhel-AppStream"
# Repositories for CentOS Stream in gating testing environment:
STREAM_BASE_REPO="baseos"
STREAM_APP_REPO="appstream"

21
tests/dirinstall/show_logs.sh Executable file
View File

@ -0,0 +1,21 @@
#!/bin/sh -x
ls /tmp
LOG_DIR=/tmp
cd ${LOG_DIR}
KS_SCRIPT_LOGS=$(ls ks-script-*.log)
cd -
ANACONDA_LOGS="anaconda.log storage.log packaging.log program.log dbus.log dnf.librepo.log ${KS_SCRIPT_LOGS}"
for log in ${ANACONDA_LOGS} ; do
LOG_PATH=${LOG_DIR}/${log}
if [ -f ${LOG_PATH} ]; then
echo "----------------------- Dumping log file $LOG_PATH:"
cat $LOG_PATH
# clear for the following test
rm $LOG_PATH
fi
done