]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[build] Filter out non-permitted drivers for UEFI Secure Boot
authorMichael Brown <mcb30@ipxe.org>
Wed, 11 Feb 2026 22:35:10 +0000 (22:35 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 11 Feb 2026 22:51:19 +0000 (22:51 +0000)
commitcf350b8eb75041b9c0a0d69e46e9247c4fcbcd34
tree7c78f32e22c2bcf0977b4692e71face1a3fbb455
parent7a2817bbd7c0ae4f63044d2e3b9f01c3bacbd1f9
[build] Filter out non-permitted drivers for UEFI Secure Boot

The all-drivers targets (e.g. ipxe.efi) cannot currently be used in a
Secure Boot build since the permissibility check will (correctly) fail
due to the inclusion of non-permitted drivers.

In a Secure Boot build, filter the all-drivers list to include only
the subset of drivers that are marked as being permitted for UEFI
Secure Boot.

Note that this automatic filter is a convenience shortcut: it is not
the enforcement mechanism.  The filter exists only to provide a
meaningful definition for the otherwise unusable all-drivers targets
in Secure Boot builds.  The enforcement mechanism remains the
permissiblity check introduced in commit 1d5b1d9 ("[build] Fail Secure
Boot builds unless all files are permitted").

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/Makefile.housekeeping
src/util/parserom.pl