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:
Richard Laager
2021-02-21 14:46:56 -06:00
parent 8e2cdf4f58
commit 0dd5093187
2 changed files with 4 additions and 0 deletions

View File

@@ -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``.

View File

@@ -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