dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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