[selinux-policy: 2290/3172] Install the seusers file for monolithic policy.
Daniel J Walsh
dwalsh at fedoraproject.org
Thu Oct 7 22:23:21 UTC 2010
commit cee508bcb586c86d4cb80a07a270ad135cc9fc7e
Author: Chris PeBenito <cpebenito at tresys.com>
Date: Fri Oct 23 11:20:07 2009 -0400
Install the seusers file for monolithic policy.
Rules.monolithic | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/Rules.monolithic b/Rules.monolithic
index 0fb2f12..5b0d534 100644
--- a/Rules.monolithic
+++ b/Rules.monolithic
@@ -23,7 +23,7 @@ M4PARAM += -D self_contained_policy
# install paths
loadpath = $(policypath)/$(notdir $(polver))
-appfiles += $(installdir)/booleans $(userpath)/local.users
+appfiles += $(installdir)/booleans $(installdir)/seusers $(userpath)/local.users
# for monolithic policy use all base and module to create policy
all_modules := $(strip $(base_mods) $(mod_mods))
@@ -238,6 +238,10 @@ $(appdir)/customizable_types: $(policy_conf)
$(verbose) $(GREP) '^[[:blank:]]*type .*customizable' $< | cut -d';' -f1 | cut -d',' -f1 | cut -d' ' -f2 | $(SORT) -u > $(tmpdir)/customizable_types
$(verbose) $(INSTALL) -m 644 $(tmpdir)/customizable_types $@
+$(installdir)/seusers: $(seusers)
+ @mkdir -p $(installdir)
+ $(verbose) $(INSTALL) -m 644 $^ $@
+
########################################
#
# Clean the sources
More information about the scm-commits
mailing list