add /run/lock when setting up /run master 1.2
authorRalph Ronnquist <rrq@rrq.au>
Wed, 27 Nov 2024 11:51:06 +0000 (22:51 +1100)
committerRalph Ronnquist <rrq@rrq.au>
Wed, 27 Nov 2024 11:51:06 +0000 (22:51 +1100)
overlay-postmount

index a8080549c6e1db16dd607af1fcf56465e22c00f2..756ba1753b5f6d6316ce2b401d7f2a04cf1feb13 100755 (executable)
@@ -35,6 +35,8 @@ mount -t devpts devpts $LIVE/dev/pts
 mount -t sysfs sysfs $LIVE/sys
 if [ "$RAM_SIZE" != "none" ] ; then
     mount -t tmpfs -osize=$RAM_SIZE,mode=755 tmpfs $LIVE/run
 mount -t sysfs sysfs $LIVE/sys
 if [ "$RAM_SIZE" != "none" ] ; then
     mount -t tmpfs -osize=$RAM_SIZE,mode=755 tmpfs $LIVE/run
+    mkdir $LIVE/run/lock
+    cmod 1777 $LIVE/run/lock
 fi
 
 echo "bind-mount /etc/adjtime into subhost, if possible"
 fi
 
 echo "bind-mount /etc/adjtime into subhost, if possible"