X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=usr_sbin%2Fgrml-chroot;h=e8ed430a61378f635c6c442fca91a74c3a34159b;hb=3ace1004ef0f658043f2645c46818d92ad66c0dc;hp=a894e39040e8f753f3c65b5c690312f131529697;hpb=a753f245b085d1f2e213e0b4d66c8041a3a0d4b7;p=grml-scripts.git diff --git a/usr_sbin/grml-chroot b/usr_sbin/grml-chroot index a894e39..e8ed430 100755 --- a/usr_sbin/grml-chroot +++ b/usr_sbin/grml-chroot @@ -98,6 +98,12 @@ else mountit "sysfs" "sys" mountit "/dev" "dev" "--bind" mountit "devpts" "dev/pts" + if [ -d /sys/firmware/efi/efivars ] ; then + mountit "efivarfs" "sys/firmware/efi/efivars" + fi + if [ -d "$DEST_"/run/udev ] && [ -d /run/udev ] ; then + mountit "/run/udev" "/run/udev" "--bind" + fi fi WROTE_DEBIAN_CHROOT=""