diff options
author | Michael Brown <mcb30@ipxe.org> | 2021-05-12 13:54:59 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2021-05-12 13:57:35 +0100 |
commit | 191f8825cbd17a6819545e5633287e3d934039b6 (patch) | |
tree | 0d4ec7ae17fb56a08975e3a5d9e6041128ae6af5 /src/image/zlib.c | |
parent | a6a8bb1a9a58becb82dfacc7bc27cf645d0e216c (diff) | |
download | ipxe-191f8825cbd17a6819545e5633287e3d934039b6.zip ipxe-191f8825cbd17a6819545e5633287e3d934039b6.tar.gz ipxe-191f8825cbd17a6819545e5633287e3d934039b6.tar.bz2 |
[image] Allow single-member archive images to be executed transparently
Provide image_extract_exec() as a helper method to allow single-member
archive images (such as gzip compressed images) to be executed without
an explicit "imgextract" step.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/image/zlib.c')
-rw-r--r-- | src/image/zlib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/image/zlib.c b/src/image/zlib.c index bc27142..a42c47e 100644 --- a/src/image/zlib.c +++ b/src/image/zlib.c @@ -159,4 +159,5 @@ struct image_type zlib_image_type __image_type ( PROBE_NORMAL ) = { .name = "zlib", .probe = zlib_probe, .extract = zlib_extract, + .exec = image_extract_exec, }; |