2022-12-15 12:45:35 +00:00
|
|
|
From ed81dfa142253a7c37824201cf525231b7efcb71 Mon Sep 17 00:00:00 2001
|
2021-07-12 06:07:40 +00:00
|
|
|
From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= <philmd@redhat.com>
|
|
|
|
Date: Thu, 1 Jul 2021 20:29:39 +0200
|
2022-02-01 12:58:25 +00:00
|
|
|
Subject: OvmfPkg: Remove LinuxInitrdDynamicShellCommand (RHEL only)
|
2021-07-12 06:07:40 +00:00
|
|
|
MIME-Version: 1.0
|
|
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
|
|
|
|
RH-Author: Philippe Mathieu-Daudé <philmd@redhat.com>
|
|
|
|
RH-MergeRequest: 3: Disable features for RHEL9
|
|
|
|
RH-Commit: [17/19] 491fe1301ea29c7cb56c20272e45614d5fcb6f14
|
|
|
|
RH-Bugzilla: 1967747
|
|
|
|
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
|
|
|
|
|
Remove the command to register a file in the shell as the
|
|
|
|
initial ramdisk for a UEFI stubbed kernel, to be booted next.
|
|
|
|
|
|
|
|
Note: as further dynamic shell commands might show up upstream,
|
|
|
|
we intentionally preserve the empty !ifdef'ry context to ease
|
|
|
|
future downstream rebases.
|
|
|
|
|
|
|
|
Suggested-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
|
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
|
|
|
|
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
|
---
|
|
|
|
OvmfPkg/AmdSev/AmdSevX64.dsc | 4 ----
|
|
|
|
OvmfPkg/AmdSev/AmdSevX64.fdf | 1 -
|
|
|
|
OvmfPkg/OvmfPkgIa32.dsc | 4 ----
|
|
|
|
OvmfPkg/OvmfPkgIa32.fdf | 1 -
|
|
|
|
OvmfPkg/OvmfPkgIa32X64.dsc | 4 ----
|
|
|
|
OvmfPkg/OvmfPkgIa32X64.fdf | 1 -
|
|
|
|
OvmfPkg/OvmfPkgX64.dsc | 4 ----
|
|
|
|
OvmfPkg/OvmfPkgX64.fdf | 1 -
|
|
|
|
8 files changed, 20 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/OvmfPkg/AmdSev/AmdSevX64.dsc b/OvmfPkg/AmdSev/AmdSevX64.dsc
|
2022-12-15 12:45:35 +00:00
|
|
|
index b3fa4941c5..adb051ecea 100644
|
2021-07-12 06:07:40 +00:00
|
|
|
--- a/OvmfPkg/AmdSev/AmdSevX64.dsc
|
|
|
|
+++ b/OvmfPkg/AmdSev/AmdSevX64.dsc
|
2022-10-11 08:54:13 +00:00
|
|
|
@@ -721,10 +721,6 @@
|
2021-07-12 06:07:40 +00:00
|
|
|
MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
|
|
|
|
|
|
|
|
!if $(TOOL_CHAIN_TAG) != "XCODE5" && $(BUILD_SHELL) == TRUE
|
|
|
|
- OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
|
|
|
|
- <PcdsFixedAtBuild>
|
|
|
|
- gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
|
|
|
|
- }
|
|
|
|
!endif
|
|
|
|
OvmfPkg/AmdSev/SecretDxe/SecretDxe.inf
|
|
|
|
OvmfPkg/AmdSev/Grub/Grub.inf
|
|
|
|
diff --git a/OvmfPkg/AmdSev/AmdSevX64.fdf b/OvmfPkg/AmdSev/AmdSevX64.fdf
|
2022-10-11 08:54:13 +00:00
|
|
|
index 1b743cc93f..1d55c7815f 100644
|
2021-07-12 06:07:40 +00:00
|
|
|
--- a/OvmfPkg/AmdSev/AmdSevX64.fdf
|
|
|
|
+++ b/OvmfPkg/AmdSev/AmdSevX64.fdf
|
2022-06-13 11:24:03 +00:00
|
|
|
@@ -274,7 +274,6 @@ INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResour
|
2021-07-12 06:07:40 +00:00
|
|
|
INF FatPkg/EnhancedFatDxe/Fat.inf
|
|
|
|
|
|
|
|
!if $(TOOL_CHAIN_TAG) != "XCODE5" && $(BUILD_SHELL) == TRUE
|
|
|
|
-INF OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
|
|
|
|
!endif
|
|
|
|
INF OvmfPkg/AmdSev/SecretDxe/SecretDxe.inf
|
|
|
|
INF OvmfPkg/AmdSev/Grub/Grub.inf
|
|
|
|
diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc
|
2022-12-15 12:45:35 +00:00
|
|
|
index 43d60df6e3..3b86666695 100644
|
2021-07-12 06:07:40 +00:00
|
|
|
--- a/OvmfPkg/OvmfPkgIa32.dsc
|
|
|
|
+++ b/OvmfPkg/OvmfPkgIa32.dsc
|
2022-12-15 12:45:35 +00:00
|
|
|
@@ -909,10 +909,6 @@
|
2021-07-12 06:07:40 +00:00
|
|
|
!endif
|
|
|
|
|
2022-12-15 12:45:35 +00:00
|
|
|
!if $(TOOL_CHAIN_TAG) != "XCODE5" && $(BUILD_SHELL) == TRUE
|
2021-07-12 06:07:40 +00:00
|
|
|
- OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
|
|
|
|
- <PcdsFixedAtBuild>
|
|
|
|
- gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
|
|
|
|
- }
|
|
|
|
!endif
|
2022-12-15 12:45:35 +00:00
|
|
|
!if $(BUILD_SHELL) == TRUE
|
2021-07-12 06:07:40 +00:00
|
|
|
ShellPkg/Application/Shell/Shell.inf {
|
|
|
|
diff --git a/OvmfPkg/OvmfPkgIa32.fdf b/OvmfPkg/OvmfPkgIa32.fdf
|
2022-12-15 12:45:35 +00:00
|
|
|
index 5b7c3f7687..b1f4dbacd7 100644
|
2021-07-12 06:07:40 +00:00
|
|
|
--- a/OvmfPkg/OvmfPkgIa32.fdf
|
|
|
|
+++ b/OvmfPkg/OvmfPkgIa32.fdf
|
2022-12-15 12:45:35 +00:00
|
|
|
@@ -296,7 +296,6 @@ INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResour
|
|
|
|
INF FatPkg/EnhancedFatDxe/Fat.inf
|
2021-07-12 06:07:40 +00:00
|
|
|
|
2022-12-15 12:45:35 +00:00
|
|
|
!if $(BUILD_SHELL) == TRUE && $(TOOL_CHAIN_TAG) != "XCODE5"
|
2021-07-12 06:07:40 +00:00
|
|
|
-INF OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
|
|
|
|
!endif
|
2022-12-15 12:45:35 +00:00
|
|
|
!if $(BUILD_SHELL) == TRUE
|
2021-07-12 06:07:40 +00:00
|
|
|
INF ShellPkg/Application/Shell/Shell.inf
|
|
|
|
diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc
|
2022-12-15 12:45:35 +00:00
|
|
|
index 56426672b8..c384425723 100644
|
2021-07-12 06:07:40 +00:00
|
|
|
--- a/OvmfPkg/OvmfPkgIa32X64.dsc
|
|
|
|
+++ b/OvmfPkg/OvmfPkgIa32X64.dsc
|
2022-12-15 12:45:35 +00:00
|
|
|
@@ -923,10 +923,6 @@
|
2021-07-12 06:07:40 +00:00
|
|
|
!endif
|
|
|
|
|
2022-12-15 12:45:35 +00:00
|
|
|
!if $(TOOL_CHAIN_TAG) != "XCODE5" && $(BUILD_SHELL) == TRUE
|
2021-07-12 06:07:40 +00:00
|
|
|
- OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
|
|
|
|
- <PcdsFixedAtBuild>
|
|
|
|
- gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
|
|
|
|
- }
|
|
|
|
!endif
|
2022-12-15 12:45:35 +00:00
|
|
|
!if $(BUILD_SHELL) == TRUE
|
2021-07-12 06:07:40 +00:00
|
|
|
ShellPkg/Application/Shell/Shell.inf {
|
|
|
|
diff --git a/OvmfPkg/OvmfPkgIa32X64.fdf b/OvmfPkg/OvmfPkgIa32X64.fdf
|
2022-12-15 12:45:35 +00:00
|
|
|
index 45f5b69171..c3dcda85c5 100644
|
2021-07-12 06:07:40 +00:00
|
|
|
--- a/OvmfPkg/OvmfPkgIa32X64.fdf
|
|
|
|
+++ b/OvmfPkg/OvmfPkgIa32X64.fdf
|
2022-12-15 12:45:35 +00:00
|
|
|
@@ -297,7 +297,6 @@ INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResour
|
|
|
|
INF FatPkg/EnhancedFatDxe/Fat.inf
|
2021-07-12 06:07:40 +00:00
|
|
|
|
2022-12-15 12:45:35 +00:00
|
|
|
!if $(BUILD_SHELL) == TRUE && $(TOOL_CHAIN_TAG) != "XCODE5"
|
2021-07-12 06:07:40 +00:00
|
|
|
-INF OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
|
|
|
|
!endif
|
2022-12-15 12:45:35 +00:00
|
|
|
!if $(BUILD_SHELL) == TRUE
|
2021-07-12 06:07:40 +00:00
|
|
|
INF ShellPkg/Application/Shell/Shell.inf
|
|
|
|
diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc
|
2022-12-15 12:45:35 +00:00
|
|
|
index 2b4635a71b..bf372014b9 100644
|
2021-07-12 06:07:40 +00:00
|
|
|
--- a/OvmfPkg/OvmfPkgX64.dsc
|
|
|
|
+++ b/OvmfPkg/OvmfPkgX64.dsc
|
2022-12-15 12:45:35 +00:00
|
|
|
@@ -991,10 +991,6 @@
|
2021-07-12 06:07:40 +00:00
|
|
|
!endif
|
|
|
|
|
2022-12-15 12:45:35 +00:00
|
|
|
!if $(TOOL_CHAIN_TAG) != "XCODE5" && $(BUILD_SHELL) == TRUE
|
2021-07-12 06:07:40 +00:00
|
|
|
- OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
|
|
|
|
- <PcdsFixedAtBuild>
|
|
|
|
- gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
|
|
|
|
- }
|
|
|
|
!endif
|
2022-12-15 12:45:35 +00:00
|
|
|
!if $(BUILD_SHELL) == TRUE
|
2021-07-12 06:07:40 +00:00
|
|
|
ShellPkg/Application/Shell/Shell.inf {
|
|
|
|
diff --git a/OvmfPkg/OvmfPkgX64.fdf b/OvmfPkg/OvmfPkgX64.fdf
|
2022-12-15 12:45:35 +00:00
|
|
|
index 6b20e0946f..2fd1d5315a 100644
|
2021-07-12 06:07:40 +00:00
|
|
|
--- a/OvmfPkg/OvmfPkgX64.fdf
|
|
|
|
+++ b/OvmfPkg/OvmfPkgX64.fdf
|
2022-12-15 12:45:35 +00:00
|
|
|
@@ -322,7 +322,6 @@ INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResour
|
|
|
|
INF FatPkg/EnhancedFatDxe/Fat.inf
|
2021-07-12 06:07:40 +00:00
|
|
|
|
2022-12-15 12:45:35 +00:00
|
|
|
!if $(BUILD_SHELL) == TRUE && $(TOOL_CHAIN_TAG) != "XCODE5"
|
2021-07-12 06:07:40 +00:00
|
|
|
-INF OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
|
|
|
|
!endif
|
2022-12-15 12:45:35 +00:00
|
|
|
!if $(BUILD_SHELL) == TRUE
|
2021-07-12 06:07:40 +00:00
|
|
|
INF ShellPkg/Application/Shell/Shell.inf
|
|
|
|
--
|
2022-12-15 12:45:35 +00:00
|
|
|
2.38.1
|
2021-07-12 06:07:40 +00:00
|
|
|
|