grub2/0359-Disable-multiboot-multiboot2-and-linux16-modules-on-.patch
2018-07-17 10:50:12 -04:00

34 lines
915 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
Date: Wed, 11 Jul 2018 13:48:48 -0400
Subject: [PATCH] Disable multiboot, multiboot2, and linux16 modules on EFI
builds.
Signed-off-by: Peter Jones <pjones@redhat.com>
---
grub-core/Makefile.core.def | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def
index b5a4e991f81..c1b9eb7940a 100644
--- a/grub-core/Makefile.core.def
+++ b/grub-core/Makefile.core.def
@@ -1682,7 +1682,7 @@ module = {
common = loader/multiboot.c;
common = loader/multiboot_mbi2.c;
- enable = x86;
+ enable = i386_pc;
enable = mips;
};
@@ -1691,7 +1691,7 @@ module = {
common = loader/multiboot.c;
x86 = loader/i386/multiboot_mbi.c;
extra_dist = loader/multiboot_elfxx.c;
- enable = x86;
+ enable = i386_pc;
};
module = {