mirror of
https://git.proxmox.com/git/grub2
synced 2025-07-27 11:56:03 +00:00
* Merge from Ubuntu:
- Don't call update-grub in the zz-update-grub kernel hook if /boot/grub/grub.cfg doesn't exist.
This commit is contained in:
parent
3facdd006a
commit
4fafc53b27
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -1,3 +1,11 @@
|
|||||||
|
grub2 (2.00-14) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
* Merge from Ubuntu:
|
||||||
|
- Don't call update-grub in the zz-update-grub kernel hook if
|
||||||
|
/boot/grub/grub.cfg doesn't exist.
|
||||||
|
|
||||||
|
-- Colin Watson <cjwatson@debian.org> Wed, 13 Mar 2013 10:05:17 +0000
|
||||||
|
|
||||||
grub2 (2.00-13) experimental; urgency=low
|
grub2 (2.00-13) experimental; urgency=low
|
||||||
|
|
||||||
* Backport from upstream:
|
* Backport from upstream:
|
||||||
|
2
debian/kernel/zz-update-grub
vendored
2
debian/kernel/zz-update-grub
vendored
@ -17,7 +17,9 @@ case $0:$mode in
|
|||||||
# Also run if we have no DEB_MAINT_PARAMS, in order to work with old
|
# Also run if we have no DEB_MAINT_PARAMS, in order to work with old
|
||||||
# kernel packages.
|
# kernel packages.
|
||||||
*/postinst.d/*:|*/postinst.d/*:configure|*/postrm.d/*:|*/postrm.d/*:remove)
|
*/postinst.d/*:|*/postinst.d/*:configure|*/postrm.d/*:|*/postrm.d/*:remove)
|
||||||
|
if [ -e /boot/grub/grub.cfg ]; then
|
||||||
exec update-grub
|
exec update-grub
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user