mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-27 08:22:07 +00:00
6d4e8591a3
We created a migration script to ease the burden of transition from the old libsemanage store layout to the new. The script will detect all the stores in /etc/selinux using the old layout and convert them to the new layout in /var/lib/selinux. It also allows you to specify the default priority to use with -p and store to operate on with -s. After migration the script by default will leave the old store unchanged, but can be told to remove the old modules directory with -c. Reloading policy post migration can be disabled with the -n option. Examples: semanage_migrate_store Migrating from /etc/selinux/targeted/modules/active to /var/lib/selinux/targeted/active Attempting to rebuild policy from /var/lib/selinux semanage_migrate_store -s targeted Migrating from /etc/selinux/targeted/modules/active to /var/lib/selinux/targeted/active Attempting to rebuild policy from /var/lib/selinux semanage_migrate_store -p 150 Migrating from /etc/selinux/targeted/modules/active to /var/lib/selinux/targeted/active Attempting to rebuild policy from /var/lib/selinux Signed-off-by: Chad Sellers <csellers@tresys.com> Signed-off-by: Steve Lawrence <slawrence@tresys.com>
38 lines
520 B
Makefile
38 lines
520 B
Makefile
all:
|
|
$(MAKE) -C src all
|
|
|
|
swigify:
|
|
$(MAKE) -C src swigify
|
|
|
|
pywrap:
|
|
$(MAKE) -C src pywrap
|
|
|
|
rubywrap:
|
|
$(MAKE) -C src rubywrap
|
|
|
|
install:
|
|
$(MAKE) -C include install
|
|
$(MAKE) -C src install
|
|
$(MAKE) -C man install
|
|
$(MAKE) -C utils install
|
|
|
|
install-pywrap:
|
|
$(MAKE) -C src install-pywrap
|
|
|
|
install-rubywrap:
|
|
$(MAKE) -C src install-rubywrap
|
|
|
|
relabel:
|
|
$(MAKE) -C src relabel
|
|
|
|
clean distclean:
|
|
$(MAKE) -C src $@
|
|
$(MAKE) -C tests $@
|
|
|
|
indent:
|
|
$(MAKE) -C src $@
|
|
$(MAKE) -C include $@
|
|
|
|
test: all
|
|
$(MAKE) -C tests test
|