From 3df8f9c3794e68f1b45298cc99f5f4ce98ebc8df Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 5 Mar 2026 12:55:37 +0000 Subject: [PATCH] [efi] Try all supported autoexec protocols When chainloaded from another iPXE, there will be both a virtual filesystem and a managed network protocol available through which we could attempt to load autoexec.ipxe. Try both of these, with the virtual filesystem attempted first so that an autoexec.ipxe that was explicitly downloaded by the chainloading iPXE will have the highest priority. Signed-off-by: Michael Brown --- src/interface/efi/efi_autoexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface/efi/efi_autoexec.c b/src/interface/efi/efi_autoexec.c index 4bb5a7a11..9125bfcf4 100644 --- a/src/interface/efi/efi_autoexec.c +++ b/src/interface/efi/efi_autoexec.c @@ -198,7 +198,7 @@ int efi_autoexec_load ( void ) { /* Try loading */ if ( ( rc = loader->load ( handle, &image ) ) != 0 ) - return rc; + continue; /* Discard zero-length images */ if ( ! image->len ) {