3ba6ddf1b2
* 0001-10_linux-Do-not-enable-BLSCFG-on-s390-emu.patch - Fix xen package contains debug_info files with the .module suffix by moving them to a separate xen-debug subpackage (bsc#1232573) OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=520
15 lines
453 B
Diff
15 lines
453 B
Diff
--- a/util/grub-mkconfig.in
|
|
+++ b/util/grub-mkconfig.in
|
|
@@ -363,6 +363,11 @@
|
|
cat ${grub_cfg}.new > ${grub_cfg}
|
|
umask $oldumask
|
|
rm -f ${grub_cfg}.new
|
|
+ # check if default entry need to be corrected for updated distributor version
|
|
+ # and/or use fallback entry if default kernel entry removed
|
|
+ if test -x /usr/sbin/grub2-check-default; then
|
|
+ /usr/sbin/grub2-check-default >&2
|
|
+ fi
|
|
sync_fs_journal || true
|
|
fi
|
|
fi
|