From: Michael Tremer Date: Tue, 1 Jun 2010 17:52:55 +0000 (+0200) Subject: bash: Copy root's startfiles to right place. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0a47bcdfc38f0e371f2b955c2a1ea4e49cabbba;p=ipfire-3.x.git bash: Copy root's startfiles to right place. --- diff --git a/pkgs/core/bash/bash.nm b/pkgs/core/bash/bash.nm index 0f07d05cf..113d5a4d3 100644 --- a/pkgs/core/bash/bash.nm +++ b/pkgs/core/bash/bash.nm @@ -69,10 +69,13 @@ CONFIGURE_OPTIONS += \ #endef define STAGE_INSTALL_CMDS - -mkdir -pv $(BUILDROOT)/{bin,etc/profile.d} + -mkdir -pv $(BUILDROOT)/{bin,etc/profile.d,root} # Bash startup files cp -avf $(DIR_SOURCE)/{bashrc,profile,shells} $(BUILDROOT)/etc + cp -vf $(DIR_SOURCE)/dot_bash_logout $(BUILDROOT)/root/.bash_logout + cp -vf $(DIR_SOURCE)/dot_bash_profile $(BUILDROOT)/root/.bash_profile + cp -vf $(DIR_SOURCE)/dot_bashrc $(BUILDROOT)/root/.bashrc # /etc/profile.d cp -vf $(DIR_SOURCE)/profile.d/* $(BUILDROOT)/etc/profile.d diff --git a/config/root/.bash_logout b/pkgs/core/bash/dot_bash_logout similarity index 100% rename from config/root/.bash_logout rename to pkgs/core/bash/dot_bash_logout diff --git a/config/root/.bash_profile b/pkgs/core/bash/dot_bash_profile similarity index 100% rename from config/root/.bash_profile rename to pkgs/core/bash/dot_bash_profile diff --git a/config/root/.bashrc b/pkgs/core/bash/dot_bashrc similarity index 100% rename from config/root/.bashrc rename to pkgs/core/bash/dot_bashrc