render / rpms / edk2

Forked from rpms/edk2 2 months ago
Clone

Blame SOURCES/0023-OvmfPkg-Remove-HttpDynamicCommand-from-shell-RHEL-on.patch

795857
From e99047a0422578ad3572ea12dc7edffd24baf3f3 Mon Sep 17 00:00:00 2001
c4e3b2
From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= <philmd@redhat.com>
c4e3b2
Date: Thu, 1 Jul 2021 20:29:31 +0200
75d8e7
Subject: OvmfPkg: Remove HttpDynamicCommand from shell (RHEL only)
c4e3b2
MIME-Version: 1.0
c4e3b2
Content-Type: text/plain; charset=UTF-8
c4e3b2
Content-Transfer-Encoding: 8bit
c4e3b2
c4e3b2
RH-Author: Philippe Mathieu-Daudé <philmd@redhat.com>
c4e3b2
RH-MergeRequest: 3: Disable features for RHEL9
c4e3b2
RH-Commit: [15/19] 1911cf04f27467ef1175b1976864c1111d93d19e
c4e3b2
RH-Bugzilla: 1967747
c4e3b2
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
c4e3b2
c4e3b2
Remove the command to download files in the shell via HTTP(S).
c4e3b2
c4e3b2
Suggested-by: Laszlo Ersek <lersek@redhat.com>
c4e3b2
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
c4e3b2
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
c4e3b2
---
c4e3b2
 OvmfPkg/OvmfPkgIa32.dsc    | 4 ----
c4e3b2
 OvmfPkg/OvmfPkgIa32.fdf    | 1 -
c4e3b2
 OvmfPkg/OvmfPkgIa32X64.dsc | 4 ----
c4e3b2
 OvmfPkg/OvmfPkgIa32X64.fdf | 1 -
c4e3b2
 OvmfPkg/OvmfPkgX64.dsc     | 4 ----
c4e3b2
 OvmfPkg/OvmfPkgX64.fdf     | 1 -
c4e3b2
 6 files changed, 15 deletions(-)
c4e3b2
c4e3b2
diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc
795857
index b00ef51f2d..43d60df6e3 100644
c4e3b2
--- a/OvmfPkg/OvmfPkgIa32.dsc
c4e3b2
+++ b/OvmfPkg/OvmfPkgIa32.dsc
795857
@@ -909,10 +909,6 @@
c4e3b2
 !endif
c4e3b2
 
795857
 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(BUILD_SHELL) == TRUE
c4e3b2
-  ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
c4e3b2
-    <PcdsFixedAtBuild>
c4e3b2
-      gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
c4e3b2
-  }
c4e3b2
   OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
c4e3b2
     <PcdsFixedAtBuild>
c4e3b2
       gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
c4e3b2
diff --git a/OvmfPkg/OvmfPkgIa32.fdf b/OvmfPkg/OvmfPkgIa32.fdf
795857
index e4e68e2122..5b7c3f7687 100644
c4e3b2
--- a/OvmfPkg/OvmfPkgIa32.fdf
c4e3b2
+++ b/OvmfPkg/OvmfPkgIa32.fdf
795857
@@ -296,7 +296,6 @@ INF  MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResour
795857
 INF  FatPkg/EnhancedFatDxe/Fat.inf
c4e3b2
 
795857
 !if $(BUILD_SHELL) == TRUE && $(TOOL_CHAIN_TAG) != "XCODE5"
c4e3b2
-INF  ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf
c4e3b2
 INF  OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
c4e3b2
 !endif
795857
 !if $(BUILD_SHELL) == TRUE
c4e3b2
diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc
795857
index d129a79e33..56426672b8 100644
c4e3b2
--- a/OvmfPkg/OvmfPkgIa32X64.dsc
c4e3b2
+++ b/OvmfPkg/OvmfPkgIa32X64.dsc
795857
@@ -923,10 +923,6 @@
c4e3b2
 !endif
c4e3b2
 
795857
 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(BUILD_SHELL) == TRUE
c4e3b2
-  ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
c4e3b2
-    <PcdsFixedAtBuild>
c4e3b2
-      gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
c4e3b2
-  }
c4e3b2
   OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
c4e3b2
     <PcdsFixedAtBuild>
c4e3b2
       gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
c4e3b2
diff --git a/OvmfPkg/OvmfPkgIa32X64.fdf b/OvmfPkg/OvmfPkgIa32X64.fdf
795857
index ef831accf1..45f5b69171 100644
c4e3b2
--- a/OvmfPkg/OvmfPkgIa32X64.fdf
c4e3b2
+++ b/OvmfPkg/OvmfPkgIa32X64.fdf
795857
@@ -297,7 +297,6 @@ INF  MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResour
795857
 INF  FatPkg/EnhancedFatDxe/Fat.inf
c4e3b2
 
795857
 !if $(BUILD_SHELL) == TRUE && $(TOOL_CHAIN_TAG) != "XCODE5"
c4e3b2
-INF  ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf
c4e3b2
 INF  OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
c4e3b2
 !endif
795857
 !if $(BUILD_SHELL) == TRUE
c4e3b2
diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc
795857
index 5b40364c47..2b4635a71b 100644
c4e3b2
--- a/OvmfPkg/OvmfPkgX64.dsc
c4e3b2
+++ b/OvmfPkg/OvmfPkgX64.dsc
795857
@@ -991,10 +991,6 @@
c4e3b2
 !endif
c4e3b2
 
795857
 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(BUILD_SHELL) == TRUE
c4e3b2
-  ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
c4e3b2
-    <PcdsFixedAtBuild>
c4e3b2
-      gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
c4e3b2
-  }
c4e3b2
   OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
c4e3b2
     <PcdsFixedAtBuild>
c4e3b2
       gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
c4e3b2
diff --git a/OvmfPkg/OvmfPkgX64.fdf b/OvmfPkg/OvmfPkgX64.fdf
795857
index aeae1650cd..6b20e0946f 100644
c4e3b2
--- a/OvmfPkg/OvmfPkgX64.fdf
c4e3b2
+++ b/OvmfPkg/OvmfPkgX64.fdf
795857
@@ -322,7 +322,6 @@ INF  MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResour
795857
 INF  FatPkg/EnhancedFatDxe/Fat.inf
c4e3b2
 
795857
 !if $(BUILD_SHELL) == TRUE && $(TOOL_CHAIN_TAG) != "XCODE5"
c4e3b2
-INF  ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf
c4e3b2
 INF  OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
c4e3b2
 !endif
795857
 !if $(BUILD_SHELL) == TRUE
c4e3b2
-- 
795857
2.38.1
c4e3b2