From 2b01ae7e2064847eb4656719e7b6cb47688fc533 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Oct 20 2005 18:08:31 +0000 Subject: make DISTRO=redhat imply DIRECT_INITRC=y --- diff --git a/refpolicy/Changelog b/refpolicy/Changelog index 9c1d91f..463d1ab 100644 --- a/refpolicy/Changelog +++ b/refpolicy/Changelog @@ -1,3 +1,5 @@ +- DISTRO=redhat now implies DIRECT_INITRC=y. + * Wed Oct 19 2005 Chris PeBenito - 20051019 - Many fixes to make loadable modules build. - Add targets for sechecker. diff --git a/refpolicy/Makefile b/refpolicy/Makefile index d01f739..bd60810 100644 --- a/refpolicy/Makefile +++ b/refpolicy/Makefile @@ -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),)