mirror of
https://github.com/ipxe/ipxe
synced 2026-02-05 19:12:46 +03:00
[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>
This commit is contained in:
@@ -200,6 +200,7 @@ extern int image_asn1 ( struct image *image, size_t offset,
|
||||
struct asn1_cursor **cursor );
|
||||
extern int image_extract ( struct image *image, const char *name,
|
||||
struct image **extracted );
|
||||
extern int image_extract_exec ( struct image *image );
|
||||
|
||||
/**
|
||||
* Increment reference count on an image
|
||||
|
||||
Reference in New Issue
Block a user