From 532a92fbdf186790a0036765b8858c9ae22b60be Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Tue, 6 Nov 2018 20:55:07 +0100 Subject: travis: workaround for dnf upgrade dnf upgrade on Fedora Rawhide pulls in unwanted selinux-policy packages which breaks the system in several ways (and usually ends up with crashed systemd) --- travis-ci/managers/fedora.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'travis-ci') diff --git a/travis-ci/managers/fedora.sh b/travis-ci/managers/fedora.sh index 21a5231cc..eed91d0d4 100755 --- a/travis-ci/managers/fedora.sh +++ b/travis-ci/managers/fedora.sh @@ -34,9 +34,11 @@ for phase in "${PHASES[@]}"; do $DOCKER_RUN -v $REPO_ROOT:/build:rw \ -w /build --privileged=true --name $CONT_NAME \ -dit --net=host fedora:$FEDORA_RELEASE /sbin/init + # Beautiful workaround for Fedora's version of Docker + sleep 1 $DOCKER_EXEC dnf makecache # Install necessary build/test requirements - $DOCKER_EXEC dnf -y upgrade + $DOCKER_EXEC dnf -y --exclude selinux-policy\* upgrade $DOCKER_EXEC dnf -y install "${ADDITIONAL_DEPS[@]}" $DOCKER_EXEC dnf -y builddep systemd ;; -- cgit v1.2.3-65-gdbad