]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmVirtPkg: add the 'initrd' dynamic shell command
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 26 Feb 2020 19:43:40 +0000 (20:43 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 4 Mar 2020 09:26:45 +0000 (09:26 +0000)
Add the 'initrd' dynamic shell command to the build so we can load
Linux initrds straight from the shell using the new generic protocol,
which does not rely on initrd= being passed on the command line.

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2564
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
ArmVirtPkg/ArmVirt.dsc.inc
ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc
ArmVirtPkg/ArmVirtXen.fdf

index 0a28d3a610d654162f715cab84f2d85bb46316a6..cf44fc73890b7cbfe58f1ad4f6408aeeb9837a09 100644 (file)
     <PcdsFixedAtBuild>\r
       gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
   }\r
+  OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {\r
+    <PcdsFixedAtBuild>\r
+      gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
+  }\r
   ShellPkg/Application/Shell/Shell.inf {\r
     <LibraryClasses>\r
       ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
index 211f7aeb6f62707861e328fd7281ff970853e142..2a17583593ef8c819b60367b0d250341ecd71ad2 100644 (file)
@@ -103,6 +103,7 @@ READ_LOCK_STATUS   = TRUE
   #\r
   INF ShellPkg/Application/Shell/Shell.inf\r
   INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf\r
+  INF OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf\r
 \r
   #\r
   # Bds\r
index 38d4cc1635246e082a026b7b5b8960e7307d1eb1..6a97bceeacbc7cd05a449a799d7119d2c762527f 100644 (file)
@@ -182,6 +182,7 @@ READ_LOCK_STATUS   = TRUE
   #\r
   INF ShellPkg/Application/Shell/Shell.inf\r
   INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf\r
+  INF OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf\r
 \r
   #\r
   # Bds\r