make DISTRO=redhat imply DIRECT_INITRC=y
This commit is contained in:
parent
fdef437d0c
commit
2b01ae7e20
|
@ -1,3 +1,5 @@
|
||||||
|
- DISTRO=redhat now implies DIRECT_INITRC=y.
|
||||||
|
|
||||||
* Wed Oct 19 2005 Chris PeBenito <selinux@tresys.com> - 20051019
|
* Wed Oct 19 2005 Chris PeBenito <selinux@tresys.com> - 20051019
|
||||||
- Many fixes to make loadable modules build.
|
- Many fixes to make loadable modules build.
|
||||||
- Add targets for sechecker.
|
- Add targets for sechecker.
|
||||||
|
|
|
@ -52,6 +52,7 @@ NAME = refpolicy
|
||||||
# run init scripts, instead of requring run_init.
|
# run init scripts, instead of requring run_init.
|
||||||
# This is a build option, as role transitions do
|
# This is a build option, as role transitions do
|
||||||
# not work in conditional policy.
|
# not work in conditional policy.
|
||||||
|
# This option will be impled as y for redhat policies.
|
||||||
DIRECT_INITRC=n
|
DIRECT_INITRC=n
|
||||||
|
|
||||||
# Build monolithic policy. Putting n here
|
# Build monolithic policy. Putting n here
|
||||||
|
@ -141,6 +142,9 @@ endif
|
||||||
# enable distribution-specific policy
|
# enable distribution-specific policy
|
||||||
ifneq ($(DISTRO),)
|
ifneq ($(DISTRO),)
|
||||||
override M4PARAM += -D distro_$(DISTRO)
|
override M4PARAM += -D distro_$(DISTRO)
|
||||||
|
ifeq ($(DISTRO),redhat)
|
||||||
|
override DIRECT_INITRC := y
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(OUTPUT_POLICY),)
|
ifneq ($(OUTPUT_POLICY),)
|
||||||
|
|
Loading…
Reference in New Issue