grub2/grub2-efi-disable-video-cirrus-and-bochus.patch
Michael Chang 3ba6ddf1b2 - Do not enable blscfg on s390-emu
* 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
2024-11-08 08:20:35 +00:00

32 lines
785 B
Diff

--- a/grub-core/Makefile.core.def
+++ b/grub-core/Makefile.core.def
@@ -2142,13 +2142,13 @@
module = {
name = video_cirrus;
x86 = video/cirrus.c;
- enable = x86;
+ enable = x86_noefi;
};
module = {
name = video_bochs;
x86 = video/bochs.c;
- enable = x86;
+ enable = x86_noefi;
};
module = {
--- a/gentpl.py
+++ b/gentpl.py
@@ -92,6 +92,10 @@
GROUPS["i386_coreboot_multiboot_qemu"] = ["i386_coreboot", "i386_multiboot", "i386_qemu"]
GROUPS["nopc"] = GRUB_PLATFORMS[:]; GROUPS["nopc"].remove("i386_pc")
+# x86 without efi
+GROUPS["x86_noefi"] = GROUPS["x86"][:]
+GROUPS["x86_noefi"].remove("i386_efi"); GROUPS["x86_noefi"].remove("x86_64_efi");
+
#
# Create platform => groups reverse map, where groups covering that
# platform are ordered by their sizes