Merge remote-tracking branch 'origin/pr/47'
* origin/pr/47: qubes-kernel-vm-support.postinst run update-grub
This commit is contained in:
commit
241f812304
13
debian/qubes-kernel-vm-support.postinst
vendored
13
debian/qubes-kernel-vm-support.postinst
vendored
@ -46,6 +46,19 @@ esac
|
|||||||
|
|
||||||
#DEBHELPER#
|
#DEBHELPER#
|
||||||
|
|
||||||
|
## https://phabricator.whonix.org/T377
|
||||||
|
## Debian has no update-grub trigger yet:
|
||||||
|
## https://bugs.debian.org/481542
|
||||||
|
|
||||||
|
if command -v update-grub >/dev/null 2>&1; then
|
||||||
|
update-grub || \
|
||||||
|
echo "$DPKG_MAINTSCRIPT_PACKAGE $DPKG_MAINTSCRIPT_NAME ERROR: Running \
|
||||||
|
'update-grub' failed with exit code $?. $DPKG_MAINTSCRIPT_PACKAGE is most \
|
||||||
|
likely only the trigger, not the cause. Unless you know this is not an issue, \
|
||||||
|
you should fix running 'update-grub', otherwise your system might no longer \
|
||||||
|
boot." >&2
|
||||||
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
# vim: set ts=4 sw=4 sts=4 et :
|
# vim: set ts=4 sw=4 sts=4 et :
|
||||||
|
Loading…
Reference in New Issue
Block a user