From 82c5856389913996c9f7f040f70f433544808e12 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 5 Dec 2023 15:38:56 -0800 Subject: [PATCH] Install which and procps-ng in prepare-system (all profiles) 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 --- profiles/centos-stream/prepare-system | 2 +- profiles/fedora/prepare-system | 2 +- profiles/rhel/prepare-system | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/profiles/centos-stream/prepare-system b/profiles/centos-stream/prepare-system index a1c3f60..5fc88a3 100644 --- a/profiles/centos-stream/prepare-system +++ b/profiles/centos-stream/prepare-system @@ -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 diff --git a/profiles/fedora/prepare-system b/profiles/fedora/prepare-system index 98391b2..a964b96 100755 --- a/profiles/fedora/prepare-system +++ b/profiles/fedora/prepare-system @@ -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 diff --git a/profiles/rhel/prepare-system b/profiles/rhel/prepare-system index f12742a..08cc65f 100644 --- a/profiles/rhel/prepare-system +++ b/profiles/rhel/prepare-system @@ -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