]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/stage2
Pakfire laedt die Listen jetzt besser und hat eine veraenderte Oberflaeche bekommen.
[ipfire-2.x.git] / lfs / stage2
index 623467c73bb43bb12d16450c846c4cf809a89fae..5a838960524b5dc33e5d402bcac904841f332794 100644 (file)
@@ -52,7 +52,7 @@ $(TARGET) :
 
        # Create directories
        -mkdir -pv /{bin,boot,etc/opt,etc/modprobe.d,home,lib,mnt,opt}
-       -mkdir -pv /{media/{floppy,cdrom},sbin,srv,var}
+       -mkdir -pv /{media/{floppy,cdrom,usbkey},sbin,srv,var}
        -install -dv -m 0750 /root
        -install -dv -m 1777 /tmp /var/tmp
        -mkdir -pv /usr/{,local/}{bin,include,lib,sbin,src}
@@ -79,6 +79,11 @@ $(TARGET) :
        echo "===============================" >> /etc/issue
        echo "\n running on \s \r \m"          >> /etc/issue
 
+       # 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
 
        # Scripts
        for i in `find $(DIR_SRC)/src/scripts -maxdepth 1 -type f`; do \
@@ -93,11 +98,16 @@ $(TARGET) :
        # Create /var dirs and files
        -mkdir -v /var/{lock,log,mail,run,spool,empty}
        -mkdir -pv /var/{opt,cache,lib/{misc,locate},local}
-       touch /var/run/utmp /var/log/{btmp,lastlog,wtmp}
+       -mkdir -pv /var/log/{counter,calamaris}
+       chown nobody.nobody /var/log/calamaris
+       touch /var/run/utmp /var/log/{btmp,lastlog,wtmp,net-traffic.log}
        chgrp -v utmp /var/run/utmp /var/log/lastlog
        chmod -v 664 /var/run/utmp /var/log/lastlog
 
        # Permissions
        chmod 0711 /var/empty
+       
+       # A small hack to include /root to the iso but not all of it's files.
+       touch /root/ipfire
 
        @$(POSTBUILD)