make DISTRO=redhat imply DIRECT_INITRC=y

This commit is contained in:
Chris PeBenito 2005-10-20 18:08:31 +00:00
parent fdef437d0c
commit 2b01ae7e20
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,5 @@
- DISTRO=redhat now implies DIRECT_INITRC=y.
* Wed Oct 19 2005 Chris PeBenito <selinux@tresys.com> - 20051019
- Many fixes to make loadable modules build.
- Add targets for sechecker.

View File

@ -52,6 +52,7 @@ NAME = refpolicy
# run init scripts, instead of requring run_init.
# This is a build option, as role transitions do
# not work in conditional policy.
# This option will be impled as y for redhat policies.
DIRECT_INITRC=n
# Build monolithic policy. Putting n here
@ -141,6 +142,9 @@ endif
# enable distribution-specific policy
ifneq ($(DISTRO),)
override M4PARAM += -D distro_$(DISTRO)
ifeq ($(DISTRO),redhat)
override DIRECT_INITRC := y
endif
endif
ifneq ($(OUTPUT_POLICY),)