diff options
author | Michael Brown <mcb30@ipxe.org> | 2023-05-22 14:13:36 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2023-05-22 15:37:11 +0100 |
commit | 95b8338f0d4674b9f8bb51adf6886212d2b97e4b (patch) | |
tree | b436616626e4126c1aaa35db5e99eca015c6032f /src/config/config.c | |
parent | 28184b7c22ca2297bd5c0ad9d333bc8620d38915 (diff) | |
download | ipxe-95b8338f0d4674b9f8bb51adf6886212d2b97e4b.tar.gz |
[efi] Add "shim" command
Allow a shim to be used to facilitate booting a kernel using a script
such as:
kernel /images/vmlinuz console=ttyS0,115200n8
initrd /images/initrd.img
shim /images/shimx64.efi
boot
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/config.c')
-rw-r--r-- | src/config/config.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/config.c b/src/config/config.c index a81866132..40f9c72c1 100644 --- a/src/config/config.c +++ b/src/config/config.c @@ -290,6 +290,9 @@ REQUIRE_OBJECT ( cert_cmd ); #ifdef IMAGE_MEM_CMD REQUIRE_OBJECT ( image_mem_cmd ); #endif +#ifdef SHIM_CMD +REQUIRE_OBJECT ( shim_cmd ); +#endif /* * Drag in miscellaneous objects |