Skip to content

Commit

Permalink
Merge pull request #52 from jpopelka/yum-utils
Browse files Browse the repository at this point in the history
Install yum-utils before running yum-config-manager
  • Loading branch information
jpopelka authored Apr 26, 2024
2 parents 0fc9735 + a85029c commit 4e4d432
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
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

0 comments on commit 4e4d432

Please sign in to comment.