mirror of
https://github.com/systemd/systemd.git
synced 2025-03-09 12:58:26 +03:00
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)
This commit is contained in:
parent
0d589dfcee
commit
532a92fbdf
@ -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
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user