From 72007746aaa32ae0e098d62010209ebdf52bf037 Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Wed, 24 Apr 2019 11:35:42 -0400 Subject: Cirrus: Temp. override container-selinux on F29 Also, undo oooooold runc package hack Signed-off-by: Chris Evich --- contrib/cirrus/lib.sh | 1 - contrib/cirrus/setup_environment.sh | 11 +++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'contrib/cirrus') diff --git a/contrib/cirrus/lib.sh b/contrib/cirrus/lib.sh index 6c45b2c5d..d663616b2 100644 --- a/contrib/cirrus/lib.sh +++ b/contrib/cirrus/lib.sh @@ -178,7 +178,6 @@ setup_rootless() { make install.catatonit go get github.com/onsi/ginkgo/ginkgo go get github.com/onsi/gomega/... - dnf -y update runc # Guarantee independence from specific values ROOTLESS_UID=$[RANDOM+1000] diff --git a/contrib/cirrus/setup_environment.sh b/contrib/cirrus/setup_environment.sh index 55706954e..3818abbc7 100755 --- a/contrib/cirrus/setup_environment.sh +++ b/contrib/cirrus/setup_environment.sh @@ -58,11 +58,14 @@ then # Always install runc on Ubuntu install_runc_from_git ;; - fedora-29) ;& # Continue to the next item + fedora-29) + CON_SEL="https://kojipkgs.fedoraproject.org/packages/container-selinux/2.100/1.git3b78187.fc29/noarch/container-selinux-2.100-1.git3b78187.fc29.noarch.rpm" + echo ">>>>> OVERRIDING container-selinux WITH $CON_SEL <<<<<" + dnf -y install $CON_SEL + ;& # Continue to the next item fedora-28) - RUNC="https://kojipkgs.fedoraproject.org/packages/runc/1.0.0/55.dev.git578fe65.fc${OS_RELEASE_VER}/x86_64/runc-1.0.0-55.dev.git578fe65.fc${OS_RELEASE_VER}.x86_64.rpm" - echo ">>>>> OVERRIDING RUNC WITH $RUNC <<<<<" - dnf -y install "$RUNC" + echo ">>>>> OVERRIDING source-built runc with latest package <<<<<" + dnf update -y runc ;& # Continue to the next item centos-7) ;& rhel-7) -- cgit v1.2.3-54-g00ecf