012e0e85e4
- Support s390x Secure Execution (jsc#PED-9531) * grub2-s390x-secure-execution-support.patch - Update grub2-s390x-set-hostonly.patch to add the patch header and the description OBS-URL: https://build.opensuse.org/request/show/1227248 OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=524
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
|