Hard code to MLSENABLED

This commit is contained in:
Dan Walsh 2011-08-22 16:30:20 -04:00
parent 5d837b2d13
commit 111d5a5817

View File

@ -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