]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[image] Add "imgextract" command for extracting archive images
authorMichael Brown <mcb30@ipxe.org>
Thu, 6 May 2021 12:11:31 +0000 (13:11 +0100)
committerMichael Brown <mcb30@ipxe.org>
Sat, 8 May 2021 14:34:19 +0000 (15:34 +0100)
commit5c9c8d2b9b78cf4e1f256fe6874855c1aee458f2
tree7990da7da1556de7ecd8dadbbb474dced6a67415
parentde4f31cdcad7c4734c68da828351eeb7afd0360e
[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>
src/config/config.c
src/config/config_archive.c [new file with mode: 0644]
src/config/general.h
src/core/archive.c [new file with mode: 0644]
src/hci/commands/image_archive_cmd.c [new file with mode: 0644]
src/include/ipxe/errfile.h
src/include/ipxe/image.h
src/include/usr/imgarchive.h [new file with mode: 0644]
src/usr/imgarchive.c [new file with mode: 0644]