Use make selinux macros

This commit is contained in:
Leon Grünewald
2021-02-10 01:46:15 +01:00
parent d2fcb2e87d
commit ec230541f3

View File

@@ -94,9 +94,8 @@ installnoconf: $(BIND)/$(NAME)
installselinux:
@echo "installing selinux modules"
@checkmodule -M -m -o ly.mod selinux/ly.te
@semodule_package -o ly.pp -m ly.mod
@cp ly.pp $(DESTDIR)/etc/selinux/packages/ly.pp
@make -f /usr/share/selinux/devel/Makefile ly.pp
#@cp ly.pp $(DESTDIR)/etc/selinux/packages/ly.pp
uninstall:
@echo "uninstalling"