From dbc292e369b0a43400e09454d588dce0c6a1241f Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Sat, 26 Sep 2026 18:13:38 -0700 Subject: [PATCH] fix(bls): allow BLS directories without an entries directory Autoconfigure detects BLS when either \loader\loader.conf or \loader\entries exists, but the BLS generator required the entries directory and failed the boot without it. This broke ESPs that only have a loader.conf, such as UKI-only systemd-boot setups. Generate no entries when the directory is missing. --- crates/boot/src/generators/bls.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/crates/boot/src/generators/bls.rs b/crates/boot/src/generators/bls.rs index ad47771..2dbadb6 100644 --- a/crates/boot/src/generators/bls.rs +++ b/crates/boot/src/generators/bls.rs @@ -60,6 +60,15 @@ pub fn generate(context: Rc, bls: &BlsConfiguration) -> Result