diff --git a/policy-f25-base-cockpit.patch b/policy-f25-base-cockpit.patch deleted file mode 100644 index a98354a..0000000 --- a/policy-f25-base-cockpit.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/policy/modules/kernel/corecommands.fc b/policy/modules/kernel/corecommands.fc -index 9a8ff3e..593281c 100644 ---- a/policy/modules/kernel/corecommands.fc -+++ b/policy/modules/kernel/corecommands.fc -@@ -308,7 +308,6 @@ ifdef(`distro_gentoo',` - /usr/libexec(/.*)? gen_context(system_u:object_r:bin_t,s0) - - /usr/libexec/git-core/git-shell -- gen_context(system_u:object_r:shell_exec_t,s0) --/usr/libexec/cockpit-agent -- gen_context(system_u:object_r:shell_exec_t,s0) - /usr/bin/cockpit-bridge -- gen_context(system_u:object_r:shell_exec_t,s0) - /usr/libexec/sesh -- gen_context(system_u:object_r:shell_exec_t,s0) - diff --git a/selinux-policy.spec b/selinux-policy.spec index bfef8c2..7bd7c76 100644 --- a/selinux-policy.spec +++ b/selinux-policy.spec @@ -29,7 +29,6 @@ Source: serefpolicy-%{version}.tgz # git diff 64302b790bf2b39d93610e1452c8361d56966ae0 f25 > policy-f25-contrib.patch patch: policy-f25-base.patch patch1: policy-f25-contrib.patch -patch2: policy-f25-base-cockpit.patch Source1: modules-targeted-base.conf Source31: modules-targeted-contrib.conf Source2: booleans-targeted.conf @@ -354,7 +353,6 @@ tar -xf %{SOURCE35} contrib_path=`pwd` %setup -n serefpolicy-%{version} -q %patch -p1 -%patch2 -p1 refpolicy_path=`pwd` cp $contrib_path/* $refpolicy_path/policy/modules/contrib