]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[build] Mark compressed image tools as permitted for UEFI Secure Boot
authorMichael Brown <mcb30@ipxe.org>
Wed, 28 Jan 2026 16:34:57 +0000 (16:34 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 28 Jan 2026 16:34:57 +0000 (16:34 +0000)
Some older distributions (such as RHEL 8) provide their AArch64
kernels as gzip-compressed EFI binaries (with no self-decompressing
EFI stub present).  We therefore enable support for gzip images by
default for arm64 EFI builds.

Review the files used to implement the gzip (and zlib) formats and
mark these as permitted for UEFI Secure Boot.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/core/archive.c
src/hci/commands/image_archive_cmd.c
src/image/gzip.c
src/image/zlib.c
src/include/ipxe/gzip.h
src/include/ipxe/zlib.h
src/include/usr/imgarchive.h
src/usr/imgarchive.c

index 8b6accc6a1a8b1cfdd5f4ef2ee8e577462b778a4..ded79089a8ac7269870361a632de436260d05e20 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
 
 #include <string.h>
 #include <errno.h>
index 6b907830e45a90b0c8d5c2636eb6165d20ab95aa..0410fceba0531acb2df9ce3b33fb716a02698c52 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
 
 #include <getopt.h>
 #include <ipxe/command.h>
index 17ccd2492b37423c7ec407c6edce794e6b26680c..2a14cc79ad57e2b53cf8a43411cffe57000775ff 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
 
 #include <stdlib.h>
 #include <string.h>
index f0f8f5622e6bec9c64e563244a0456b2c52f0714..aac67a19061a3903895b7f4ebfa9bb11b413216e 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
 
 #include <stdlib.h>
 #include <errno.h>
index c8cf6414741a9b70a00a9b51e3ee3cea12b5e132..4d6666db171496b2e987afefddfc5c0c372f4d1c 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
 
 #include <stdint.h>
 #include <ipxe/image.h>
index 3b0866bd1a3c34a7ace562769a0d6d54f91e9d4a..00cb3aeecb094357ce05bfd241a0edfcecd78e10 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
 
 #include <stdint.h>
 #include <byteswap.h>
index bf0c18f55761964abba25ae1d3afd779480bc041..5a0057d27e57c140db0e7dd57b125276bfa74c9c 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
 
 #include <ipxe/image.h>
 
index 91600760e34e5bdc5a88d0354222807fbba23f12..e1109d8af8efb702d7b743193b90718d8efeafed 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
 
 #include <stdio.h>
 #include <string.h>