summaryrefslogtreecommitdiffstats
path: root/src/config/config.c
diff options
context:
space:
mode:
authorMichael Brown2023-05-22 15:13:36 +0200
committerMichael Brown2023-05-22 16:37:11 +0200
commit95b8338f0d4674b9f8bb51adf6886212d2b97e4b (patch)
treeb436616626e4126c1aaa35db5e99eca015c6032f /src/config/config.c
parent[efi] Add support for executing images via a shim (diff)
downloadipxe-95b8338f0d4674b9f8bb51adf6886212d2b97e4b.tar.gz
ipxe-95b8338f0d4674b9f8bb51adf6886212d2b97e4b.tar.xz
ipxe-95b8338f0d4674b9f8bb51adf6886212d2b97e4b.zip
[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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/config.c b/src/config/config.c
index a8186613..40f9c72c 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