]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/stage2
Merge branch 'master' into next
[ipfire-2.x.git] / lfs / stage2
index ec5d1170d972eb587045e954ae27bcaff3d1fbe9..b70bde78a4e273bc37444d3fc1aea2b986657470 100644 (file)
@@ -64,7 +64,7 @@ $(TARGET) :
        # Symlink /var/run -> /run.
        ln -svf ../run /var/run
 
-ifeq "$(MACHINE)" "x86_64"
+ifeq "$(IS_64BIT)" "1"
        ln -svf lib /lib64
        ln -svf lib /usr/lib64
 endif
@@ -126,7 +126,8 @@ endif
        -mkdir -pv /var/{opt,cache,lib/{misc,locate},local}
        -mkdir -pv /var/log/{counter,calamaris}
        chown nobody.nobody /var/log/calamaris
-       touch /var/log/{btmp,lastlog,wtmp,net-traffic.log}
+       touch /var/log/{btmp,lastlog,wtmp}
+       chmod -v 600 /var/log/btmp
        chgrp -v utmp /var/log/lastlog
        chmod -v 664 /var/log/lastlog