From a4cb8a892183462b0713580a5e2134c3f3d1d95d Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Fri, 2 Jul 2021 10:40:29 -0700 Subject: chroot mounts: assert that /dev is udev devtmpfs Signed-off-by: Sean Whitton --- src/connection/chroot.lisp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/connection') 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") -- cgit v1.2.3