Skip to content

Commit 301b1ec

Browse files
committed
[build] Mark compressed image tools as permitted for UEFI Secure Boot
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>
1 parent c07fb71 commit 301b1ec

8 files changed

Lines changed: 8 additions & 0 deletions

File tree

src/core/archive.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
*/
2323

2424
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
25+
FILE_SECBOOT ( PERMITTED );
2526

2627
#include <string.h>
2728
#include <errno.h>

src/hci/commands/image_archive_cmd.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
*/
2323

2424
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
25+
FILE_SECBOOT ( PERMITTED );
2526

2627
#include <getopt.h>
2728
#include <ipxe/command.h>

src/image/gzip.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
*/
2323

2424
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
25+
FILE_SECBOOT ( PERMITTED );
2526

2627
#include <stdlib.h>
2728
#include <string.h>

src/image/zlib.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
*/
2323

2424
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
25+
FILE_SECBOOT ( PERMITTED );
2526

2627
#include <stdlib.h>
2728
#include <errno.h>

src/include/ipxe/gzip.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
*/
99

1010
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11+
FILE_SECBOOT ( PERMITTED );
1112

1213
#include <stdint.h>
1314
#include <ipxe/image.h>

src/include/ipxe/zlib.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
*/
99

1010
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11+
FILE_SECBOOT ( PERMITTED );
1112

1213
#include <stdint.h>
1314
#include <byteswap.h>

src/include/usr/imgarchive.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
*/
99

1010
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11+
FILE_SECBOOT ( PERMITTED );
1112

1213
#include <ipxe/image.h>
1314

src/usr/imgarchive.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
*/
2323

2424
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
25+
FILE_SECBOOT ( PERMITTED );
2526

2627
#include <stdio.h>
2728
#include <string.h>

0 commit comments

Comments
 (0)