build: Add --enable-selinux-custom-policy
Don't use this. It's just for me, and only temporarily until this stuff all lands in the Fedora (and ideally upstream) selinux-policy.
This commit is contained in:
parent
5bda4b4347
commit
cca4cf3e62
|
|
@ -31,7 +31,7 @@ endif
|
||||||
|
|
||||||
SUBDIRS += .
|
SUBDIRS += .
|
||||||
|
|
||||||
if USE_SELINUX
|
if BUILD_SELINUX_CUSTOM_POLICY
|
||||||
SUBDIRS += selinux
|
SUBDIRS += selinux
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -164,6 +164,12 @@ AS_IF([ test x$with_selinux != xno ], [
|
||||||
if test x$with_selinux != xno; then OSTREE_FEATURES="$OSTREE_FEATURES +selinux"; fi
|
if test x$with_selinux != xno; then OSTREE_FEATURES="$OSTREE_FEATURES +selinux"; fi
|
||||||
AM_CONDITIONAL(USE_SELINUX, test $with_selinux != no)
|
AM_CONDITIONAL(USE_SELINUX, test $with_selinux != no)
|
||||||
|
|
||||||
|
dnl FIXME remove this
|
||||||
|
AC_ARG_ENABLE(selinux-custom-policy,
|
||||||
|
AS_HELP_STRING([--enable-selinux-custom-policy], [Custom policy overrides]),,
|
||||||
|
enable_selinux_custom_policy=no)
|
||||||
|
AM_CONDITIONAL(BUILD_SELINUX_CUSTOM_POLICY, test x$enable_selinux_custom_policy = xyes)
|
||||||
|
|
||||||
AC_ARG_WITH(dracut,
|
AC_ARG_WITH(dracut,
|
||||||
AS_HELP_STRING([--with-dracut],
|
AS_HELP_STRING([--with-dracut],
|
||||||
[Install dracut module (default: no)]),,
|
[Install dracut module (default: no)]),,
|
||||||
|
|
|
||||||
|
|
@ -20,3 +20,5 @@ ostree.pp: ostree.fc ostree.if ostree.te
|
||||||
|
|
||||||
selinuxpkgdir = $(datadir)/selinux/packages
|
selinuxpkgdir = $(datadir)/selinux/packages
|
||||||
selinuxpkg_DATA = ostree.pp
|
selinuxpkg_DATA = ostree.pp
|
||||||
|
|
||||||
|
EXTRA_DIST = ostree.fc ostree.if ostree.te
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue