[selinux-policy/f18] Fixes related to file_contexts.bin

Miroslav Grepl mgrepl at fedoraproject.org
Fri Sep 21 13:37:52 UTC 2012


commit 4d98fb78cbe3f42251f92ef60d6ec375f1525916
Author: Miroslav Grepl <mgrepl at redhat.com>
Date:   Fri Sep 21 15:37:27 2012 +0200

    Fixes related to file_contexts.bin

 selinux-policy.spec |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/selinux-policy.spec b/selinux-policy.spec
index aba4184..742357b 100644
--- a/selinux-policy.spec
+++ b/selinux-policy.spec
@@ -144,6 +144,8 @@ touch %{buildroot}%{_sysconfdir}/selinux/%1/modules/active/file_contexts.local \
 touch %{buildroot}%{_sysconfdir}/selinux/%1/modules/active/nodes.local \
 touch %{buildroot}%{_sysconfdir}/selinux/%1/modules/active/users_extra.local \
 touch %{buildroot}%{_sysconfdir}/selinux/%1/modules/active/users.local \
+touch %{buildroot}%{_sysconfdir}/selinux/%1/modules/active/file_contexts.homedirs.bin \
+touch %{buildroot}%{_sysconfdir}/selinux/%1/modules/active/file_contexts.bin \
 cp %{SOURCE30} %{buildroot}%{_sysconfdir}/selinux/%1 \
 bzip2 -c %{buildroot}/%{_usr}/share/selinux/%1/base.pp  > %{buildroot}/%{_sysconfdir}/selinux/%1/modules/active/base.pp \
 rm -f %{buildroot}/%{_usr}/share/selinux/%1/base.pp  \
@@ -183,7 +185,7 @@ rm -f %{buildroot}/%{_sysconfigdir}/selinux/%1/modules/active/policy.kern
 %verify(not md5 size mtime) %{_sysconfdir}/selinux/%1/modules/active/modules/*.pp \
 %verify(not md5 size mtime) %{_sysconfdir}/selinux/%1/modules/active/modules/sandbox.disabled \
 %ghost %{_sysconfdir}/selinux/%1/modules/active/*.local \
-%ghost %{_sysconfdir}/selinux/%1/modules/active/*.local.bin \
+%ghost %{_sysconfdir}/selinux/%1/modules/active/*.bin \
 %ghost %{_sysconfdir}/selinux/%1/modules/active/seusers \
 %dir %{_sysconfdir}/selinux/%1/policy/ \
 %verify(not md5 size mtime) %{_sysconfdir}/selinux/%1/policy/policy.%{POLICYVER} \


More information about the scm-commits mailing list