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:
Colin Walters 2014-03-01 15:10:39 -05:00
parent 5bda4b4347
commit cca4cf3e62
3 changed files with 9 additions and 1 deletions

View File

@ -31,7 +31,7 @@ endif
SUBDIRS += .
if USE_SELINUX
if BUILD_SELINUX_CUSTOM_POLICY
SUBDIRS += selinux
endif

View File

@ -164,6 +164,12 @@ AS_IF([ test x$with_selinux != xno ], [
if test x$with_selinux != xno; then OSTREE_FEATURES="$OSTREE_FEATURES +selinux"; fi
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,
AS_HELP_STRING([--with-dracut],
[Install dracut module (default: no)]),,

View File

@ -20,3 +20,5 @@ ostree.pp: ostree.fc ostree.if ostree.te
selinuxpkgdir = $(datadir)/selinux/packages
selinuxpkg_DATA = ostree.pp
EXTRA_DIST = ostree.fc ostree.if ostree.te