From 133247c05a62dc09b5b2f8adb35823c08cb99a92 Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Sat, 26 Sep 2026 20:17:07 -0700 Subject: [PATCH] fix(autoconfigure): only pair kernels with an initramfs that is a file The initramfs candidates were checked with try_exists, which also accepts a directory, and fails the whole scan on any error other than the file not being found. Only accept a regular file, and treat a candidate that can't be checked as missing. --- crates/boot/src/autoconfigure/linux.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/crates/boot/src/autoconfigure/linux.rs b/crates/boot/src/autoconfigure/linux.rs index 8d4e196..f8e6b54 100644 --- a/crates/boot/src/autoconfigure/linux.rs +++ b/crates/boot/src/autoconfigure/linux.rs @@ -125,10 +125,11 @@ fn scan_directory(filesystem: &mut FileSystem, path: &str) -> Result