aboutsummaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2021-05-06 18:38:37 +0100
committerMichael Brown <mcb30@ipxe.org>2021-05-08 15:34:19 +0100
commit866fa1ce7639c93de8905cf16ab79b8086990728 (patch)
tree69c4c77fd2c7c90732fd4f75e433223126330ff7 /src/config
parentd093683d93ccfac4c76e72264ec3b0d8f0017b92 (diff)
downloadipxe-866fa1ce7639c93de8905cf16ab79b8086990728.zip
ipxe-866fa1ce7639c93de8905cf16ab79b8086990728.tar.gz
ipxe-866fa1ce7639c93de8905cf16ab79b8086990728.tar.bz2
[gzip] Add support for gzip archive imagesimgextract
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config_archive.c3
-rw-r--r--src/config/general.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/config/config_archive.c b/src/config/config_archive.c
index eceebae..84f21b9 100644
--- a/src/config/config_archive.c
+++ b/src/config/config_archive.c
@@ -34,3 +34,6 @@ PROVIDE_REQUIRING_SYMBOL();
#ifdef IMAGE_ZLIB
REQUIRE_OBJECT ( zlib );
#endif
+#ifdef IMAGE_GZIP
+REQUIRE_OBJECT ( gzip );
+#endif
diff --git a/src/config/general.h b/src/config/general.h
index d665379..fcfbaf5 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -118,6 +118,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#define IMAGE_DER /* DER image support */
#define IMAGE_PEM /* PEM image support */
#define IMAGE_ZLIB /* ZLIB image support */
+#define IMAGE_GZIP /* GZIP image support */
/*
* Command-line commands to include