]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[image] Allow single-member archive images to be executed transparently
authorMichael Brown <mcb30@ipxe.org>
Wed, 12 May 2021 12:54:59 +0000 (13:54 +0100)
committerMichael Brown <mcb30@ipxe.org>
Wed, 12 May 2021 12:57:35 +0000 (13:57 +0100)
commit191f8825cbd17a6819545e5633287e3d934039b6
tree0d4ec7ae17fb56a08975e3a5d9e6041128ae6af5
parenta6a8bb1a9a58becb82dfacc7bc27cf645d0e216c
[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>
src/core/archive.c
src/image/gzip.c
src/image/zlib.c
src/include/ipxe/image.h