mirror of
https://git.proxmox.com/git/grub2
synced 2025-07-26 23:41:40 +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
|
||||
|
||||
* Backport from upstream:
|
||||
|
4
debian/kernel/zz-update-grub
vendored
4
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
|
||||
# kernel packages.
|
||||
*/postinst.d/*:|*/postinst.d/*:configure|*/postrm.d/*:|*/postrm.d/*:remove)
|
||||
exec update-grub
|
||||
if [ -e /boot/grub/grub.cfg ]; then
|
||||
exec update-grub
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user