forked from pool/grub2
Accepting request 1191065 from home:gary_lin:branches:Base:System
- Switch to '--no-hostonly' when creating the ZIPL initrd in the KIWI build environment to avoid some potential issues due to the missing modules * grub2-s390x-set-hostonly.patch OBS-URL: https://build.opensuse.org/request/show/1191065 OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=510
This commit is contained in:
14
grub2-mkconfig-default-entry-correction.patch
Normal file
14
grub2-mkconfig-default-entry-correction.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
--- 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
|
Reference in New Issue
Block a user