aboutsummaryrefslogtreecommitdiff
path: root/src/connection
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-07-10 00:45:43 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-07-10 21:42:22 -0700
commit4cfd98698d1e8e670e2824e53574903f61ad82bc (patch)
treeee6f7f9d36aa30d4a773a65006377859e345747a /src/connection
parent5d25eb6f35f2067057fd2a4b1af91b1663f8d229 (diff)
downloadconsfigurator-4cfd98698d1e8e670e2824e53574903f61ad82bc.tar.gz
move /run out from MOUNT:*STANDARD-LINUX-VFS*
Bind-mounting /run is really a chroot connection-specific operation. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/connection')
-rw-r--r--src/connection/chroot.lisp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/connection/chroot.lisp b/src/connection/chroot.lisp
index 7fbe860..acf8053 100644
--- a/src/connection/chroot.lisp
+++ b/src/connection/chroot.lisp
@@ -73,6 +73,7 @@ should be the mount point, without the chroot's root prefixed.")
(mount:assert-devtmpfs-udev-/dev)
(dolist (mount mount:*standard-linux-vfs*)
(apply #'chroot-mount connection mount))
+ (chroot-mount connection "--bind" "/run" "/run")
(when (remote-exists-p "/sys/firmware/efi/efivars")
(apply #'chroot-mount connection mount:*linux-efivars-vfs*)))))