Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install yum-utils before running yum-config-manager #52

Merged
merged 2 commits into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,30 @@ jobs:
trigger: pull_request
targets:
- fedora-all
- epel-7-ppc64le
- epel-7-x86_64
- epel-7-aarch64
- epel-8-x86_64
- epel-8-aarch64
- epel-9-x86_64
- epel-8-ppc64le
- epel-8-s390x
- epel-8-x86_64
- epel-9-aarch64
- epel-9-ppc64le
- epel-9-s390x
- epel-9-x86_64
# - job: copr_build
# trigger: commit
# branch: main
# targets:
# - fedora-all
# - epel-7-ppc64le
# - epel-7-x86_64
# - epel-7-aarch64
# - epel-8-x86_64
# - epel-8-aarch64
# - epel-9-x86_64
# - epel-8-ppc64le
# - epel-8-s390x
# - epel-8-x86_64
# - epel-9-aarch64
# - epel-9-ppc64le
# - epel-9-s390x
# - epel-9-x86_64
# owner: "@osci"
# project: mini-tps
3 changes: 2 additions & 1 deletion profiles/rhel/prepare-system
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ if [ -n "$FIXREPO" ]; then
done
fi

yum -y install yum-utils # yum-config-manager
yum-config-manager --disable '*'
declare -a yumrepos
for repofile in "${INSTALLED_REPO_FILES[@]}"; do
Expand All @@ -61,7 +62,7 @@ fi
# yum config-manager --set-enabled astepano-mini-tps || :

echo "Installing required packages for testing"
yum -y install createrepo_c which procps-ng yum-utils
yum -y install createrepo_c which procps-ng

yum -y upgrade
yum clean all
Expand Down