dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

Blame SOURCES/0216-Disable-multiboot-multiboot2-and-linux16-modules-on-.patch

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