validate file contexts

This commit is contained in:
Chris PeBenito 2005-07-06 18:34:27 +00:00
parent ed1a92b88c
commit 14b25bc455

View File

@ -316,7 +316,7 @@ enableaudit: policy.conf
#
# Construct file_contexts
#
$(FC): $(M4SUPPORT) tmp/generated_definitions.conf $(ALL_FC_FILES) $(FCSORT)
$(FC): $(M4SUPPORT) tmp/generated_definitions.conf $(ALL_FC_FILES) $(FCSORT) $(POLVER)
ifeq ($(ALL_FC_FILES),)
$(error No enabled modules! $(notdir $(MOD_CONF)) may need to be generated by using "make conf")
endif
@ -325,6 +325,8 @@ endif
$(QUIET) grep -e HOME -e ROLE tmp/$@.tmp > $(HOMEDIR_TEMPLATE)
$(QUIET) sed -i -e /HOME/d -e /ROLE/d tmp/$@.tmp
$(QUIET) $(FCSORT) tmp/$@.tmp $@
@echo "Validating file_contexts."
$(SETFILES) -q -c $(POLVER) $(FC)
########################################
#