From: Michael Tremer Date: Sun, 17 May 2009 08:06:39 +0000 (+0200) Subject: Moved copying the profile.d to lfs/bash. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1213a784dbe6fbd289c296e8de75add5d779abd;p=ipfire-3.x.git Moved copying the profile.d to lfs/bash. --- diff --git a/lfs/bash b/lfs/bash index edd7e2f74..0e6adef8d 100644 --- 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) diff --git a/lfs/stage2 b/lfs/stage2 index 0576b1f32..7aa363e11 100644 --- a/lfs/stage2 +++ b/lfs/stage2 @@ -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