diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-07-02 10:40:29 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-07-06 21:19:39 -0700 |
commit | a4cb8a892183462b0713580a5e2134c3f3d1d95d (patch) | |
tree | c1bb90c84a1e716b10a10fcc5c44ce21326f24de /src/connection/chroot.lisp | |
parent | 60d2ca122ee7dc29fc66b4364bcf79f5a7041b64 (diff) | |
download | consfigurator-a4cb8a892183462b0713580a5e2134c3f3d1d95d.tar.gz |
chroot mounts: assert that /dev is udev devtmpfs
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/connection/chroot.lisp')
-rw-r--r-- | src/connection/chroot.lisp | 1 |
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") |