代码拉取完成,页面将自动刷新
同步操作将从 OpenCloudOS Stream/grub2 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From 8f784f680fa801e8e29ef0a01297dfcd79c8b287 Mon Sep 17 00:00:00 2001
From: nilusyi <nilusyi@tencent.com>
Date: Mon, 1 Apr 2024 15:05:02 +0800
Subject: [PATCH 019/272] efi disable video cirrus and bochus
Signed-off-by: Michael Chang <mchang@suse.com>
---
gentpl.py | 4 ++++
grub-core/Makefile.core.def | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/gentpl.py b/gentpl.py
index bfab2113a..fb9908c3a 100644
--- a/gentpl.py
+++ b/gentpl.py
@@ -92,6 +92,10 @@ for i in GROUPS["softdiv"]: GROUPS["no_softdiv"].remove(i)
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
diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def
index 07aa64caf..43b0f50af 100644
--- a/grub-core/Makefile.core.def
+++ b/grub-core/Makefile.core.def
@@ -2138,13 +2138,13 @@ module = {
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 = {
--
2.41.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。