diff --git a/Changelog b/Changelog index af9981f..87fd0ff 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,5 @@ +- Add a reload target to Modules.devel and change the load + target to only insert modules that were changed. - Allow semanage to read from /root on strict non-MLS for local policy modules. - Gentoo init script fixes for udev. diff --git a/support/Makefile.devel b/support/Makefile.devel index 9c109eb..595f778 100644 --- a/support/Makefile.devel +++ b/support/Makefile.devel @@ -133,7 +133,7 @@ define peruser-expansion $(verbose) echo "')" >> $2 endef -.PHONY: clean all xml load +.PHONY: clean all xml load reload .SUFFIXES: .SUFFIXES: .pp # broken in make 3.81: @@ -154,9 +154,14 @@ xml: $(polxml) # load: tmp/loaded +tmp/loaded: $(all_packages) + @$(EINFO) "Loading $(NAME) modules: $(basename $(notdir $?))" + $(verbose) $(SEMODULE) $(foreach mod,$?,-i $(mod)) + @mkdir -p tmp + @touch tmp/loaded -tmp/loaded reload: $(all_packages) - @$(EINFO) "Loading $(NAME) modules: $(basename $(notdir $(all_packages)))" +reload: $(all_packages) + @$(EINFO) "Loading $(NAME) modules: $(basename $(notdir $^))" $(verbose) $(SEMODULE) $(foreach mod,$^,-i $(mod)) @mkdir -p tmp @touch tmp/loaded