[selinux-policy: 1339/3172] try 2 on rhel4 fixes
Daniel J Walsh
dwalsh at fedoraproject.org
Thu Oct 7 21:01:14 UTC 2010
commit a3e785d58256bd4cabf6f33f65f391ed04a03ef9
Author: Chris PeBenito <cpebenito at tresys.com>
Date: Fri Apr 7 15:04:05 2006 +0000
try 2 on rhel4 fixes
refpolicy/Rules.monolithic | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/refpolicy/Rules.monolithic b/refpolicy/Rules.monolithic
index 42c7659..aaec089 100644
--- a/refpolicy/Rules.monolithic
+++ b/refpolicy/Rules.monolithic
@@ -175,10 +175,10 @@ ifeq "$(DISTRO)" "rhel4"
# the old genhomedircon used in RHEL4 makes assumptions on
# the directory strucure of the policy. need to set up a mini
# environment with this structure for correct functioning.
- @ mkdir -p $(TMPDIR)/rhel4/file_contexts
- @ cp $@ $(TMPDIR)/rhel4/file_contexts
+ @ mkdir -p $(TMPDIR)/rhel4
+ @ cp $@ $(TMPDIR)/rhel4
@ $(M4) $(M4PARAM) $(M4SUPPORT) $(USER_FILES) > $(TMPDIR)/rhel4/users
- $(verbose) $(GREP) -v "^/root" $< $(TMPDIR)/rhel4/$(@F).root
+ $(verbose) $(GREP) -v "^/root" $< > $(TMPDIR)/rhel4/$(@F).root
$(verbose) ( cd $(TMPDIR)/rhel4/users ; $(GENHOMEDIRCON) . $(@F).root > $@ )
$(verbose) $(GREP) "^/root" $< >> $@
else
More information about the scm-commits
mailing list