mirror of
https://github.com/edera-dev/sprout.git
synced 2025-12-19 13:50:16 +00:00
Merge pull request #37 from edera-dev/fix/linux-auto-detect-aarch64-images
fix(autoconfigure/linux): detect Image as a kernel, which openSUSE uses
This commit is contained in:
@@ -25,7 +25,7 @@ const LINUX_CHAINLOAD_ACTION_PREFIX: &str = "linux-chainload-";
|
|||||||
const SCAN_LOCATIONS: &[&str] = &["\\boot", "\\"];
|
const SCAN_LOCATIONS: &[&str] = &["\\boot", "\\"];
|
||||||
|
|
||||||
/// Prefixes of kernel files to scan for.
|
/// Prefixes of kernel files to scan for.
|
||||||
const KERNEL_PREFIXES: &[&str] = &["vmlinuz"];
|
const KERNEL_PREFIXES: &[&str] = &["vmlinuz", "Image"];
|
||||||
|
|
||||||
/// Prefixes of initramfs files to match to.
|
/// Prefixes of initramfs files to match to.
|
||||||
const INITRAMFS_PREFIXES: &[&str] = &["initramfs", "initrd", "initrd.img"];
|
const INITRAMFS_PREFIXES: &[&str] = &["initramfs", "initrd", "initrd.img"];
|
||||||
|
|||||||
Reference in New Issue
Block a user