X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=usr_sbin%2Fgrml-chroot;fp=usr_sbin%2Fgrml-chroot;h=e8ed430a61378f635c6c442fca91a74c3a34159b;hb=7bbfe5432568c69c9e4641466b52b9f6dcb6ee4e;hp=3b2750549765bd47f3c55309f4b36ac6954863e4;hpb=7b5dd59f29586fea9d65d68ca4054d14c9f4c155;p=grml-scripts.git diff --git a/usr_sbin/grml-chroot b/usr_sbin/grml-chroot index 3b27505..e8ed430 100755 --- a/usr_sbin/grml-chroot +++ b/usr_sbin/grml-chroot @@ -98,6 +98,9 @@ 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