]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/stage2
Disk Berechnung im Installer umgestellt
[people/pmueller/ipfire-2.x.git] / lfs / stage2
index 2e132f17e5138a4491db4321f6601508d8a4333a..5a838960524b5dc33e5d402bcac904841f332794 100644 (file)
@@ -98,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)