validate file contexts
This commit is contained in:
parent
ed1a92b88c
commit
14b25bc455
@ -316,7 +316,7 @@ enableaudit: policy.conf
|
|||||||
#
|
#
|
||||||
# Construct file_contexts
|
# 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),)
|
ifeq ($(ALL_FC_FILES),)
|
||||||
$(error No enabled modules! $(notdir $(MOD_CONF)) may need to be generated by using "make conf")
|
$(error No enabled modules! $(notdir $(MOD_CONF)) may need to be generated by using "make conf")
|
||||||
endif
|
endif
|
||||||
@ -325,6 +325,8 @@ endif
|
|||||||
$(QUIET) grep -e HOME -e ROLE tmp/$@.tmp > $(HOMEDIR_TEMPLATE)
|
$(QUIET) grep -e HOME -e ROLE tmp/$@.tmp > $(HOMEDIR_TEMPLATE)
|
||||||
$(QUIET) sed -i -e /HOME/d -e /ROLE/d tmp/$@.tmp
|
$(QUIET) sed -i -e /HOME/d -e /ROLE/d tmp/$@.tmp
|
||||||
$(QUIET) $(FCSORT) tmp/$@.tmp $@
|
$(QUIET) $(FCSORT) tmp/$@.tmp $@
|
||||||
|
@echo "Validating file_contexts."
|
||||||
|
$(SETFILES) -q -c $(POLVER) $(FC)
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user