From 9d3cd718e4e7853963f8734c4f571eb9754683fa Mon Sep 17 00:00:00 2001 From: Michael Legleux Date: Sat, 2 Apr 2022 14:06:14 -0700 Subject: [PATCH] Do not install coreutils-single on rocky build image --- Builds/containers/gitlab-ci/smoketest.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Builds/containers/gitlab-ci/smoketest.sh b/Builds/containers/gitlab-ci/smoketest.sh index b233e6959c..267c0aa7b5 100644 --- a/Builds/containers/gitlab-ci/smoketest.sh +++ b/Builds/containers/gitlab-ci/smoketest.sh @@ -61,7 +61,11 @@ if [ "${pkgtype}" = "dpkg" ] ; then else yum -y update if [ "${install_from}" = "repo" ] ; then - yum -y install yum-utils coreutils util-linux + pkgs=("yum-utils coreutils util-linux") + if [ "$ID" = "rocky" ]; then + pkgs="${pkgs[@]/coreutils}" + fi + yum install -y $pkgs REPOFILE="/etc/yum.repos.d/artifactory.repo" echo "[Artifactory]" > ${REPOFILE} echo "name=Artifactory" >> ${REPOFILE}