X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fstage2;h=5f038c325024f8fa25295aea1179d9dea84be707;hb=f2ab614b46212a977026117aba71968fc8bf361c;hp=8a8c8fd0ca71b69601609bb036e2c33d37195dc0;hpb=70df830214c97a68fcb7e89ae0d7df58c35590be;p=people%2Fpmueller%2Fipfire-2.x.git diff --git a/lfs/stage2 b/lfs/stage2 index 8a8c8fd0ca..5f038c3250 100644 --- a/lfs/stage2 +++ b/lfs/stage2 @@ -69,9 +69,7 @@ $(TARGET) : -ln -sv bash /bin/sh # Config files - for i in $(DIR_SRC)/config/etc/*; do \ - [ -f $$i ] && cp $$i /etc; \ - done + cp -rvf $(DIR_SRC)/config/etc/* /etc; touch /etc/mtab echo "$(NAME) v$(VERSION) - $(SLOGAN)" > /etc/issue echo "===============================" >> /etc/issue @@ -82,6 +80,8 @@ $(TARGET) : for i in $(DIR_SRC)/config/profile.d/*; do \ [ -f $$i ] && cp $$i /etc/profile.d; \ done + chmod 755 /etc/bashrc + ln -svf ../bashrc /etc/profile.d/bashrc.sh # Scripts for i in `find $(DIR_SRC)/src/scripts -maxdepth 1 -type f`; do \ @@ -108,4 +108,8 @@ $(TARGET) : # A small hack to include /root to the iso but not all of it's files. touch /root/ipfire + # License agreement + -mkdir -pv /usr/share/doc/licenses/ + cp -vf $(DIR_SRC)/doc/COPYING /usr/share/doc/licenses/GPLv3 + @$(POSTBUILD)