projects
/
grml-scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
usr_bin/grml-resolution: Fix a couple of shellscript warnings
[grml-scripts.git]
/
usr_sbin
/
grml-chroot
diff --git
a/usr_sbin/grml-chroot
b/usr_sbin/grml-chroot
index
a894e39
..
e8ed430
100755
(executable)
--- 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"
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=""
fi
WROTE_DEBIAN_CHROOT=""