Hard code to MLSENABLED
This commit is contained in:
parent
5d837b2d13
commit
111d5a5817
@ -4,7 +4,6 @@ SHAREDIR := /usr/share/selinux
|
|||||||
AWK ?= gawk
|
AWK ?= gawk
|
||||||
NAME ?= $(strip $(shell $(AWK) -F= '/^SELINUXTYPE/{ print $$2 }' /etc/selinux/config))
|
NAME ?= $(strip $(shell $(AWK) -F= '/^SELINUXTYPE/{ print $$2 }' /etc/selinux/config))
|
||||||
|
|
||||||
MLSENABLED := $(shell python -c "import selinux; print(selinux.is_selinux_mls_enabled())")
|
|
||||||
ifeq ($(MLSENABLED),)
|
ifeq ($(MLSENABLED),)
|
||||||
MLSENABLED := 1
|
MLSENABLED := 1
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user