32b1f26c51
This adds the ability to have different profiles for individual distros
and versions of the distro because they all ship with and depend on
different versions of policy packages.
The `selinux` dir contains the unmodified policy that is being used
today. The `selinux-fedora` dir contains the new policy for fedora 24
with the changes for it to compile and work on the system.
The fedora policy is from commit
4a6ce94da5
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
23 lines
357 B
Makefile
23 lines
357 B
Makefile
TARGETS?=docker
|
|
MODULES?=${TARGETS:=.pp.bz2}
|
|
SHAREDIR?=/usr/share
|
|
|
|
all: ${TARGETS:=.pp.bz2}
|
|
|
|
%.pp.bz2: %.pp
|
|
@echo Compressing $^ -\> $@
|
|
bzip2 -9 $^
|
|
|
|
%.pp: %.te
|
|
make -f ${SHAREDIR}/selinux/devel/Makefile $@
|
|
|
|
clean:
|
|
rm -f *~ *.tc *.pp *.pp.bz2
|
|
rm -rf tmp *.tar.gz
|
|
|
|
man: install
|
|
sepolicy manpage --domain ${TARGETS}_t
|
|
|
|
install:
|
|
semodule -i ${TARGETS}
|
|
|