]> git.ipfire.org Git - people/stevee/selinux-policy.git/commitdiff
try 2 on rhel4 fixes
authorChris PeBenito <cpebenito@tresys.com>
Fri, 7 Apr 2006 15:04:05 +0000 (15:04 +0000)
committerChris PeBenito <cpebenito@tresys.com>
Fri, 7 Apr 2006 15:04:05 +0000 (15:04 +0000)
refpolicy/Rules.monolithic

index 42c7659f4a77efcde2d738cdc5b1570caad207ba..aaec0890e4651167693ae24dfbdffe6323c7b43f 100644 (file)
@@ -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