]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Moved copying the profile.d to lfs/bash.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 17 May 2009 08:06:39 +0000 (10:06 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 17 May 2009 08:06:39 +0000 (10:06 +0200)
lfs/bash
lfs/stage2

index edd7e2f7421c97dcf5747ba0a03e11c5ec805595..0e6adef8dd1508751e1ca06cef7b4b092f2b28ea 100644 (file)
--- a/lfs/bash
+++ b/lfs/bash
@@ -131,6 +131,12 @@ ifeq "$(STAGE)" "base"
                        --with-installed-readline
        cd $(DIR_APP) && make #$(PARALLELISMFLAGS)
        cd $(DIR_APP) && make install
+
+       # Bash startup files
+       install --directory --mode=0755 --owner=root --group=root /etc/profile.d
+       for i in $(DIR_CONFIG)/profile.d/*; do \
+           [ -f $$i ] && cp $$i /etc/profile.d; \
+       done
 endif
 
        @rm -rf $(DIR_APP)
index 0576b1f3238d54300920d7356bfa08d975528f95..7aa363e11faa72e3354cad7f711ab52d33e2748f 100644 (file)
@@ -120,12 +120,6 @@ endif
        #chgrp -v utmp /var/run/utmp /var/log/lastlog
        chmod -v 664 /var/run/utmp /var/log/lastlog
 
-       # Bash startup files
-       install --directory --mode=0755 --owner=root --group=root /etc/profile.d
-       for i in $(DIR_SRC)/config/profile.d/*; do \
-           [ -f $$i ] && cp $$i /etc/profile.d; \
-       done
-
        # Nobody user
        -mkdir -p /home/nobody
        chown -R nobody:nobody /home/nobody