render / rpms / edk2

Forked from rpms/edk2 3 months ago
Clone

Blame SOURCES/0045-OvmfPkg-Remove-LinuxInitrdDynamicShellCommand-RHEL-o.patch

7439a5
From 855afbe9bf9ebb68f9cdb3ace57ce99e5614375f Mon Sep 17 00:00:00 2001
7439a5
From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= <philmd@redhat.com>
7439a5
Date: Thu, 1 Jul 2021 20:29:39 +0200
7439a5
Subject: OvmfPkg: Remove LinuxInitrdDynamicShellCommand (RHEL only)
7439a5
MIME-Version: 1.0
7439a5
Content-Type: text/plain; charset=UTF-8
7439a5
Content-Transfer-Encoding: 8bit
7439a5
7439a5
RH-Author: Philippe Mathieu-Daudé <philmd@redhat.com>
7439a5
RH-MergeRequest: 3: Disable features for RHEL9
7439a5
RH-Commit: [17/19] 491fe1301ea29c7cb56c20272e45614d5fcb6f14
7439a5
RH-Bugzilla: 1967747
7439a5
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
7439a5
7439a5
Remove the command to register a file in the shell as the
7439a5
initial ramdisk for a UEFI stubbed kernel, to be booted next.
7439a5
7439a5
Note: as further dynamic shell commands might show up upstream,
7439a5
we intentionally preserve the empty !ifdef'ry context to ease
7439a5
future downstream rebases.
7439a5
7439a5
Suggested-by: Laszlo Ersek <lersek@redhat.com>
7439a5
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
7439a5
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
7439a5
---
7439a5
 OvmfPkg/AmdSev/AmdSevX64.dsc | 4 ----
7439a5
 OvmfPkg/AmdSev/AmdSevX64.fdf | 1 -
7439a5
 OvmfPkg/OvmfPkgIa32.dsc      | 4 ----
7439a5
 OvmfPkg/OvmfPkgIa32.fdf      | 1 -
7439a5
 OvmfPkg/OvmfPkgIa32X64.dsc   | 4 ----
7439a5
 OvmfPkg/OvmfPkgIa32X64.fdf   | 1 -
7439a5
 OvmfPkg/OvmfPkgX64.dsc       | 4 ----
7439a5
 OvmfPkg/OvmfPkgX64.fdf       | 1 -
7439a5
 8 files changed, 20 deletions(-)
7439a5
7439a5
diff --git a/OvmfPkg/AmdSev/AmdSevX64.dsc b/OvmfPkg/AmdSev/AmdSevX64.dsc
7439a5
index 35691989bd..88b65b9f59 100644
7439a5
--- a/OvmfPkg/AmdSev/AmdSevX64.dsc
7439a5
+++ b/OvmfPkg/AmdSev/AmdSevX64.dsc
7439a5
@@ -785,10 +785,6 @@
7439a5
   MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
7439a5
 
7439a5
 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(BUILD_SHELL) == TRUE
7439a5
-  OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
7439a5
-    <PcdsFixedAtBuild>
7439a5
-      gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
7439a5
-  }
7439a5
 !endif
7439a5
   OvmfPkg/AmdSev/SecretDxe/SecretDxe.inf
7439a5
   OvmfPkg/AmdSev/Grub/Grub.inf
7439a5
diff --git a/OvmfPkg/AmdSev/AmdSevX64.fdf b/OvmfPkg/AmdSev/AmdSevX64.fdf
7439a5
index 52cb301d43..325570c5a3 100644
7439a5
--- a/OvmfPkg/AmdSev/AmdSevX64.fdf
7439a5
+++ b/OvmfPkg/AmdSev/AmdSevX64.fdf
7439a5
@@ -274,7 +274,6 @@ INF  MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResour
7439a5
 INF  FatPkg/EnhancedFatDxe/Fat.inf
7439a5
 
7439a5
 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(BUILD_SHELL) == TRUE
7439a5
-INF  OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
7439a5
 !endif
7439a5
 INF OvmfPkg/AmdSev/SecretDxe/SecretDxe.inf
7439a5
 INF  OvmfPkg/AmdSev/Grub/Grub.inf
7439a5
diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc
7439a5
index 1a14d8125b..fa42d919be 100644
7439a5
--- a/OvmfPkg/OvmfPkgIa32.dsc
7439a5
+++ b/OvmfPkg/OvmfPkgIa32.dsc
7439a5
@@ -910,10 +910,6 @@
7439a5
 !endif
7439a5
 
7439a5
 !if $(TOOL_CHAIN_TAG) != "XCODE5"
7439a5
-  OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
7439a5
-    <PcdsFixedAtBuild>
7439a5
-      gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
7439a5
-  }
7439a5
 !endif
7439a5
   ShellPkg/Application/Shell/Shell.inf {
7439a5
     <LibraryClasses>
7439a5
diff --git a/OvmfPkg/OvmfPkgIa32.fdf b/OvmfPkg/OvmfPkgIa32.fdf
7439a5
index bdb8bd2388..51433836d6 100644
7439a5
--- a/OvmfPkg/OvmfPkgIa32.fdf
7439a5
+++ b/OvmfPkg/OvmfPkgIa32.fdf
7439a5
@@ -287,7 +287,6 @@ INF  FatPkg/EnhancedFatDxe/Fat.inf
7439a5
 
7439a5
 !ifndef $(EXCLUDE_SHELL_FROM_FD)
7439a5
 !if $(TOOL_CHAIN_TAG) != "XCODE5"
7439a5
-INF  OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
7439a5
 !endif
7439a5
 INF  ShellPkg/Application/Shell/Shell.inf
7439a5
 !endif
7439a5
diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc
7439a5
index a528e35e99..ef962565f8 100644
7439a5
--- a/OvmfPkg/OvmfPkgIa32X64.dsc
7439a5
+++ b/OvmfPkg/OvmfPkgIa32X64.dsc
7439a5
@@ -924,10 +924,6 @@
7439a5
 !endif
7439a5
 
7439a5
 !if $(TOOL_CHAIN_TAG) != "XCODE5"
7439a5
-  OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
7439a5
-    <PcdsFixedAtBuild>
7439a5
-      gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
7439a5
-  }
7439a5
 !endif
7439a5
   ShellPkg/Application/Shell/Shell.inf {
7439a5
     <LibraryClasses>
7439a5
diff --git a/OvmfPkg/OvmfPkgIa32X64.fdf b/OvmfPkg/OvmfPkgIa32X64.fdf
7439a5
index 2bb9c91909..a50f80e1e9 100644
7439a5
--- a/OvmfPkg/OvmfPkgIa32X64.fdf
7439a5
+++ b/OvmfPkg/OvmfPkgIa32X64.fdf
7439a5
@@ -291,7 +291,6 @@ INF  FatPkg/EnhancedFatDxe/Fat.inf
7439a5
 
7439a5
 !ifndef $(EXCLUDE_SHELL_FROM_FD)
7439a5
 !if $(TOOL_CHAIN_TAG) != "XCODE5"
7439a5
-INF  OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
7439a5
 !endif
7439a5
 INF  ShellPkg/Application/Shell/Shell.inf
7439a5
 !endif
7439a5
diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc
7439a5
index 8b4963b022..ba9f9833b0 100644
7439a5
--- a/OvmfPkg/OvmfPkgX64.dsc
7439a5
+++ b/OvmfPkg/OvmfPkgX64.dsc
7439a5
@@ -922,10 +922,6 @@
7439a5
 !endif
7439a5
 
7439a5
 !if $(TOOL_CHAIN_TAG) != "XCODE5"
7439a5
-  OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
7439a5
-    <PcdsFixedAtBuild>
7439a5
-      gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
7439a5
-  }
7439a5
 !endif
7439a5
   ShellPkg/Application/Shell/Shell.inf {
7439a5
     <LibraryClasses>
7439a5
diff --git a/OvmfPkg/OvmfPkgX64.fdf b/OvmfPkg/OvmfPkgX64.fdf
7439a5
index 9d1dfb1cee..dd1c6eded9 100644
7439a5
--- a/OvmfPkg/OvmfPkgX64.fdf
7439a5
+++ b/OvmfPkg/OvmfPkgX64.fdf
7439a5
@@ -307,7 +307,6 @@ INF  FatPkg/EnhancedFatDxe/Fat.inf
7439a5
 
7439a5
 !ifndef $(EXCLUDE_SHELL_FROM_FD)
7439a5
 !if $(TOOL_CHAIN_TAG) != "XCODE5"
7439a5
-INF  OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
7439a5
 !endif
7439a5
 INF  ShellPkg/Application/Shell/Shell.inf
7439a5
 !endif
7439a5
-- 
7439a5
2.27.0
7439a5