aboutsummaryrefslogtreecommitdiff
path: root/src/connection
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-07-02 10:40:29 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-07-06 21:19:39 -0700
commita4cb8a892183462b0713580a5e2134c3f3d1d95d (patch)
treec1bb90c84a1e716b10a10fcc5c44ce21326f24de /src/connection
parent60d2ca122ee7dc29fc66b4364bcf79f5a7041b64 (diff)
downloadconsfigurator-a4cb8a892183462b0713580a5e2134c3f3d1d95d.tar.gz
chroot mounts: assert that /dev is udev devtmpfs
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 f0a4c73..2895641 100644
--- a/src/connection/chroot.lisp
+++ b/src/connection/chroot.lisp
@@ -75,6 +75,7 @@ should be the mount point, without the chroot's root prefixed.")
(unless (zerop (mrun :for-exit "mountpoint" "-q" into))
(chroot-mount connection "--bind" into "/"))
;; Now set up the usual bind mounts. Help here from arch-chroot(8).
+ (mount:assert-devtmpfs-udev-/dev)
(dolist (mount *standard-chroot-mounts*)
(apply #'chroot-mount connection mount))
(when (remote-exists-p "/sys/firmware/efi/efivars")