mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-12-01 00:48:18 +00:00
6b2dd0f731
Signed-off-by: Peter Jones <pjones@redhat.com>
42 lines
1 KiB
Diff
42 lines
1 KiB
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 | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def
|
|
index 3b022555c46..81509b86a0d 100644
|
|
--- a/grub-core/Makefile.core.def
|
|
+++ b/grub-core/Makefile.core.def
|
|
@@ -1654,7 +1654,7 @@ module = {
|
|
module = {
|
|
name = linux16;
|
|
common = loader/i386/pc/linux.c;
|
|
- enable = x86;
|
|
+ enable = i386_pc;
|
|
};
|
|
|
|
module = {
|
|
@@ -1689,7 +1689,7 @@ module = {
|
|
|
|
common = loader/multiboot.c;
|
|
common = loader/multiboot_mbi2.c;
|
|
- enable = x86;
|
|
+ enable = i386_pc;
|
|
enable = mips;
|
|
};
|
|
|
|
@@ -1698,7 +1698,7 @@ module = {
|
|
common = loader/multiboot.c;
|
|
x86 = loader/i386/multiboot_mbi.c;
|
|
extra_dist = loader/multiboot_elfxx.c;
|
|
- enable = x86;
|
|
+ enable = i386_pc;
|
|
};
|
|
|
|
module = {
|