d6cae872c7
With the latest OL7.2, selinux policy that is shipped might not be the latest for it to work or build with selinux policy for docker-1.12. To be able to achieve that here is what is done: 1. Added systemd_machined policy which is part of systemd. 2. Temporarily comment out unconfined_typebounds because the current OL7's selinux doesn't have unconfineduser selinux policy, to include this will be too much. Will revisit this once we have updated the selinux policy. Fixes: #24612 Signed-off-by: Thomas Tanaka <thomas.tanaka@oracle.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}
|
|
|