Debian/Ubuntu: Bring back creating /mnt/run/lock
This should fix issues with zed. Closes #110 Signed-off-by: Richard Laager <rlaager@wiktel.com>
This commit is contained in:
@@ -501,6 +501,7 @@ Step 3: System Installation
|
|||||||
|
|
||||||
mkdir /mnt/run
|
mkdir /mnt/run
|
||||||
mount -t tmpfs tmpfs /mnt/run
|
mount -t tmpfs tmpfs /mnt/run
|
||||||
|
mkdir /mnt/run/lock
|
||||||
|
|
||||||
A tmpfs is recommended later, but if you want a separate dataset for
|
A tmpfs is recommended later, but if you want a separate dataset for
|
||||||
``/tmp``::
|
``/tmp``::
|
||||||
@@ -604,6 +605,7 @@ Step 4: System Configuration
|
|||||||
mount --rbind /proc /mnt/proc
|
mount --rbind /proc /mnt/proc
|
||||||
mount --rbind /sys /mnt/sys
|
mount --rbind /sys /mnt/sys
|
||||||
mount -t tmpfs tmpfs /mnt/run
|
mount -t tmpfs tmpfs /mnt/run
|
||||||
|
mkdir /mnt/run/lock
|
||||||
chroot /mnt /usr/bin/env DISK=$DISK bash --login
|
chroot /mnt /usr/bin/env DISK=$DISK bash --login
|
||||||
|
|
||||||
**Note:** This is using ``--rbind``, not ``--bind``.
|
**Note:** This is using ``--rbind``, not ``--bind``.
|
||||||
|
|||||||
@@ -627,6 +627,7 @@ Step 3: System Installation
|
|||||||
|
|
||||||
mkdir /mnt/run
|
mkdir /mnt/run
|
||||||
mount -t tmpfs tmpfs /mnt/run
|
mount -t tmpfs tmpfs /mnt/run
|
||||||
|
mkdir /mnt/run/lock
|
||||||
|
|
||||||
A tmpfs is recommended later, but if you want a separate dataset for
|
A tmpfs is recommended later, but if you want a separate dataset for
|
||||||
``/tmp``::
|
``/tmp``::
|
||||||
@@ -1198,6 +1199,7 @@ If needed, you can chroot into your installed environment::
|
|||||||
mount --rbind /proc /mnt/proc
|
mount --rbind /proc /mnt/proc
|
||||||
mount --rbind /sys /mnt/sys
|
mount --rbind /sys /mnt/sys
|
||||||
mount -t tmpfs tmpfs /mnt/run
|
mount -t tmpfs tmpfs /mnt/run
|
||||||
|
mkdir /mnt/run/lock
|
||||||
chroot /mnt /bin/bash --login
|
chroot /mnt /bin/bash --login
|
||||||
mount -a
|
mount -a
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user