mirror of
https://github.com/ceph/ceph
synced 2024-12-12 22:46:21 +00:00
c52eb995e0
This patch modifies the build system and spec file to provide a support for SELinux enforcing in an opt-in matter via ceph-selinux package. Signed-off-by: Boris Ranto <branto@redhat.com>
23 lines
473 B
Makefile
23 lines
473 B
Makefile
EXTRA_DIST = \
|
|
ceph.te \
|
|
ceph.fc \
|
|
ceph.if
|
|
|
|
SELINUXROOT = $(DESTDIR)$(datadir)/selinux
|
|
|
|
ceph.pp: ceph.te ceph.fc ceph.if
|
|
$(MAKE) -f $(datadir)/selinux/devel/Makefile ceph.pp
|
|
|
|
if ENABLE_SERVER
|
|
if WITH_SELINUX
|
|
all-local: ceph.pp
|
|
|
|
install-exec-local:
|
|
$(INSTALL) -d $(SELINUXROOT)/packages
|
|
$(INSTALL) -m 644 ceph.pp $(SELINUXROOT)/packages/
|
|
$(INSTALL) -d $(SELINUXROOT)/devel/include/contrib
|
|
$(INSTALL) -m 644 ceph.if $(SELINUXROOT)/devel/include/contrib/
|
|
|
|
endif
|
|
endif
|