projects
/
grml-debootstrap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release new version 0.99
[grml-debootstrap.git]
/
chroot-script
diff --git
a/chroot-script
b/chroot-script
index
8104df1
..
e59b829
100755
(executable)
--- a/
chroot-script
+++ b/
chroot-script
@@
-604,9
+604,6
@@
efi_setup() {
echo "Invoking efibootmgr"
efibootmgr || return 1
echo "Invoking efibootmgr"
efibootmgr || return 1
-
- umount /sys/firmware/efi/efivars &>/dev/null || true
-
}
# grub configuration/installation {{{
}
# grub configuration/installation {{{
@@
-725,6
+722,8
@@
finalize() {
[ -n "$POLICYRCD" ] && rm -f /usr/sbin/policy-rc.d
[ -n "$POLICYRCD" ] && rm -f /usr/sbin/policy-rc.d
+ umount /sys/firmware/efi/efivars &>/dev/null || true
+
umount /sys >/dev/null 2>/dev/null || true
umount /proc >/dev/null 2>/dev/null || true
}
umount /sys >/dev/null 2>/dev/null || true
umount /proc >/dev/null 2>/dev/null || true
}