stage2: add /run symlink to /var/run.
authorArne Fitzenreiter <arne_f@ipfire.org>
Mon, 18 Nov 2013 22:34:00 +0000 (23:34 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 18 Nov 2013 22:34:00 +0000 (23:34 +0100)
config/rootfiles/common/stage2
lfs/stage2

index d5d1a5cebbc0638fa2e55c4aeb00934d45bcedd8..a53ecafc3389377dbc2d74b6e8cd90dc03c7b9bc 100644 (file)
@@ -132,6 +132,7 @@ usr/share/doc/licenses/GPLv3
 #usr/share/misc
 #usr/share/terminfo
 #usr/share/zoneinfo
+run
 #var
 #var/cache
 var/empty
index 5c15f4183778d83ede77ab86fa36f48cda25d0ed..3c4a8e4482857c3c74aa9b9bc44aa651438e9ad7 100644 (file)
@@ -111,6 +111,9 @@ $(TARGET) :
        chgrp -v utmp /var/run/utmp /var/log/lastlog
        chmod -v 664 /var/run/utmp /var/log/lastlog
 
+       # Create /run symlink
+       ln -s /var/run /run
+
        # Permissions
        chmod 0711 /var/empty