summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <cpebenito@tresys.com>2009-10-23 11:20:07 -0400
committerChris PeBenito <cpebenito@tresys.com>2009-10-23 11:20:07 -0400
commitcee508bcb586c86d4cb80a07a270ad135cc9fc7e (patch)
tree2b7fe96c657b1da786e2c8acbfcb396a217696c0
parenta1a45de06e41c529ad521058e438e20b5907cd45 (diff)
Install the seusers file for monolithic policy.
-rw-r--r--Rules.monolithic6
1 files changed, 5 insertions, 1 deletions
diff --git a/Rules.monolithic b/Rules.monolithic
index 0fb2f12d..5b0d5347 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