teknoraver / rpms / systemd

Forked from rpms/systemd 3 months ago
Clone

Blame SOURCES/0065-travis-drop-the-SELinux-Fedora-workaround.patch

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