try 2 on rhel4 fixes
This commit is contained in:
parent
185ab24144
commit
a3e785d582
@ -175,10 +175,10 @@ ifeq "$(DISTRO)" "rhel4"
|
|||||||
# the old genhomedircon used in RHEL4 makes assumptions on
|
# the old genhomedircon used in RHEL4 makes assumptions on
|
||||||
# the directory strucure of the policy. need to set up a mini
|
# the directory strucure of the policy. need to set up a mini
|
||||||
# environment with this structure for correct functioning.
|
# environment with this structure for correct functioning.
|
||||||
@ mkdir -p $(TMPDIR)/rhel4/file_contexts
|
@ mkdir -p $(TMPDIR)/rhel4
|
||||||
@ cp $@ $(TMPDIR)/rhel4/file_contexts
|
@ cp $@ $(TMPDIR)/rhel4
|
||||||
@ $(M4) $(M4PARAM) $(M4SUPPORT) $(USER_FILES) > $(TMPDIR)/rhel4/users
|
@ $(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) ( cd $(TMPDIR)/rhel4/users ; $(GENHOMEDIRCON) . $(@F).root > $@ )
|
||||||
$(verbose) $(GREP) "^/root" $< >> $@
|
$(verbose) $(GREP) "^/root" $< >> $@
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user