grub2/grub2-s390x-skip-zfcpdump-image.patch
Michael Chang 543f21c3be - Revert the patches related to BLS support in grub2-mkconfig, as they are not
relevant to the current BLS integration and cause issues in older KIWI
  versions, which actively force it to be enabled by default (bsc#1233196)
  * 0002-Add-BLS-support-to-grub-mkconfig.patch
  * 0003-Add-grub2-switch-to-blscfg.patch
  * 0007-grub-switch-to-blscfg-adapt-to-openSUSE.patch
  * 0008-blscfg-reading-bls-fragments-if-boot-present.patch
  * 0009-10_linux-Some-refinement-for-BLS.patch
  * 0001-10_linux-Do-not-enable-BLSCFG-on-s390-emu.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=523
2024-11-13 01:57:36 +00:00

16 lines
648 B
Diff

--- a/util/grub-mkconfig_lib.in
+++ b/util/grub-mkconfig_lib.in
@@ -193,6 +193,12 @@
*.rpmsave|*.rpmnew) return 1 ;;
README*|*/README*) return 1 ;; # documentation
*.sig) return 1 ;; # signatures
+ # Skip zfcpdump kernel from the grub boot menu (bsc#1166513) The zfcpdump
+ # kernel image is used by zipl to prepare a SCSI dump disc and is only
+ # intended to boot from that disk for creating kernel crash dumps,
+ # therefore booting it from grub is not making sense and also will result
+ # in unbootable system.
+ *-zfcpdump) return 1 ;; # s390 zfcpdump image
esac
else
return 1