Skip to content

Commit

Permalink
Install which and procps-ng in prepare-system (all profiles)
Browse files Browse the repository at this point in the history
The scripts use `which` and `ps`, but do not make sure they are
available. In e.g. official Fedora base container images, they
are not, so the test pipeline fails when run in a container.

Signed-off-by: Adam Williamson <[email protected]>
  • Loading branch information
AdamWill committed Dec 5, 2023
1 parent 2c9b222 commit 82c5856
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion profiles/centos-stream/prepare-system
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ yum clean all
yum makecache

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

echo "Updating the system..."
yum update -y
2 changes: 1 addition & 1 deletion profiles/fedora/prepare-system
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ echo "Recreating the DNF cache..."
"$YUMDNFCMD" makecache

echo "Installing packages required for testing..."
"$YUMDNFCMD" install -y createrepo_c
"$YUMDNFCMD" install -y createrepo_c which procps-ng

echo "Updating the system..."
"$YUMDNFCMD" update -y
2 changes: 1 addition & 1 deletion profiles/rhel/prepare-system
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ fi
# yum config-manager --set-enabled astepano-mini-tps || :

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

yum update -y
yum clean all
Expand Down

0 comments on commit 82c5856

Please sign in to comment.