diff options
author | Michael Brown | 2021-05-06 14:11:31 +0200 |
---|---|---|
committer | Michael Brown | 2021-05-08 16:34:19 +0200 |
commit | 5c9c8d2b9b78cf4e1f256fe6874855c1aee458f2 (patch) | |
tree | 7990da7da1556de7ecd8dadbbb474dced6a67415 /src/config/config.c | |
parent | [image] Provide image_set_len() utility function (diff) | |
download | ipxe-5c9c8d2b9b78cf4e1f256fe6874855c1aee458f2.tar.gz ipxe-5c9c8d2b9b78cf4e1f256fe6874855c1aee458f2.tar.xz ipxe-5c9c8d2b9b78cf4e1f256fe6874855c1aee458f2.zip |
[image] Add "imgextract" command for extracting archive images
Add the concept of extracting an image from an archive (which could be
a single-file archive such as a gzip-compressed file), along with an
"imgextract" command to expose this functionality to scripts.
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 5e7a3ecf..dd1fceb9 100644 --- a/src/config/config.c +++ b/src/config/config.c @@ -284,6 +284,9 @@ REQUIRE_OBJECT ( cert_cmd ); #ifdef IMAGE_MEM_CMD REQUIRE_OBJECT ( image_mem_cmd ); #endif +#ifdef IMAGE_ARCHIVE_CMD +REQUIRE_OBJECT ( image_archive_cmd ); +#endif /* * Drag in miscellaneous objects |