]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
bash: Copy root's startfiles to right place.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 1 Jun 2010 17:52:55 +0000 (19:52 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 1 Jun 2010 17:52:55 +0000 (19:52 +0200)
pkgs/core/bash/bash.nm
pkgs/core/bash/dot_bash_logout [moved from config/root/.bash_logout with 100% similarity]
pkgs/core/bash/dot_bash_profile [moved from config/root/.bash_profile with 100% similarity]
pkgs/core/bash/dot_bashrc [moved from config/root/.bashrc with 100% similarity]

index 0f07d05cf2950b5bb0452b9e888943febc4ee117..113d5a4d3e7ef6a2a048ffa16cbe6f86d630e24a 100644 (file)
@@ -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