[selinux-policy: 578/3172] for base module, only enable modules actually in it

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 7 19:54:34 UTC 2010


commit 28f0329c78ed3174e814735fc89b1cb5f8d2381d
Author: Chris PeBenito <cpebenito at tresys.com>
Date:   Fri Aug 19 20:00:05 2005 +0000

    for base module, only enable modules actually in it

 refpolicy/Rules.modular |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/refpolicy/Rules.modular b/refpolicy/Rules.modular
index c04e047..b24297c 100644
--- a/refpolicy/Rules.modular
+++ b/refpolicy/Rules.modular
@@ -67,17 +67,17 @@ tmp/pre_te_files.conf: $(BASE_PRE_TE_FILES)
 	@test -d tmp || mkdir -p tmp
 	$(QUIET) cat $^ > $@
 
-tmp/generated_definitions.conf: $(ALL_LAYERS) $(ALL_TE_FILES)
+tmp/generated_definitions.conf: $(ALL_LAYERS) $(BASE_TE_FILES)
 # per-userdomain templates:
 	@test -d tmp || mkdir -p tmp
 	$(QUIET) echo "define(\`per_userdomain_templates',\`" > $@
-	$(QUIET) for i in $(patsubst %.te,%,$(notdir $(ALL_MODULES))); do \
+	$(QUIET) for i in $(patsubst %.te,%,$(notdir $(BASE_TE_FILES))); do \
 		echo "ifdef(\`""$$i""_per_userdomain_template',\`""$$i""_per_userdomain_template("'$$1'")')" \
 			>> $@ ;\
 	done
 	$(QUIET) echo "')" >> $@
 # define foo.te
-	$(QUIET) for i in $(notdir $(ALL_MODULES)); do \
+	$(QUIET) for i in $(notdir $(BASE_TE_FILES)); do \
 		echo "define(\`$$i')" >> $@ ;\
 	done
 	$(QUIET) $(SETTUN) $(TUNABLES) >> $@


More information about the scm-commits mailing list