richardphibel / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
923a60
From 90399c456fe8cf726fc04fb7be9e2a01f9ca0eae Mon Sep 17 00:00:00 2001
923a60
From: Frantisek Sumsal <fsumsal@redhat.com>
923a60
Date: Tue, 15 Jan 2019 11:03:45 +0100
923a60
Subject: [PATCH] travis: drop the SELinux Fedora workaround
923a60
923a60
---
923a60
 ci/travis-centos-rhel7.sh | 2 +-
923a60
 ci/travis-centos-rhel8.sh | 2 +-
923a60
 2 files changed, 2 insertions(+), 2 deletions(-)
923a60
923a60
diff --git a/ci/travis-centos-rhel7.sh b/ci/travis-centos-rhel7.sh
923a60
index 60bbdf14c2..b1b3de1cc2 100755
923a60
--- a/ci/travis-centos-rhel7.sh
923a60
+++ b/ci/travis-centos-rhel7.sh
923a60
@@ -40,7 +40,7 @@ for phase in "${PHASES[@]}"; do
923a60
             sleep 1
923a60
             $DOCKER_EXEC yum makecache
923a60
             # Install necessary build/test requirements
923a60
-            $DOCKER_EXEC yum -y --exclude selinux-policy\* upgrade
923a60
+            $DOCKER_EXEC yum -y upgrade
923a60
             $DOCKER_EXEC yum -y install "${ADDITIONAL_DEPS[@]}"
923a60
             $DOCKER_EXEC yum-builddep -y systemd
923a60
             ;;
923a60
diff --git a/ci/travis-centos-rhel8.sh b/ci/travis-centos-rhel8.sh
923a60
index 968603f949..8eda5e982f 100755
923a60
--- a/ci/travis-centos-rhel8.sh
923a60
+++ b/ci/travis-centos-rhel8.sh
923a60
@@ -45,7 +45,7 @@ for phase in "${PHASES[@]}"; do
923a60
             $DOCKER_EXEC curl "$COPR_REPO" -o "$COPR_REPO_PATH"
923a60
             $DOCKER_EXEC yum -q -y install epel-release yum-utils
923a60
             $DOCKER_EXEC yum-config-manager -q --enable epel
923a60
-            $DOCKER_EXEC yum -y --exclude selinux-policy\* upgrade
923a60
+            $DOCKER_EXEC yum -y upgrade
923a60
             # Install necessary build/test requirements
923a60
             $DOCKER_EXEC yum -y install "${ADDITIONAL_DEPS[@]}"
923a60
             $DOCKER_EXEC python3.6 -m ensurepip