mirror of
https://github.com/edera-dev/sprout.git
synced 2026-11-04 17:42:20 +00:00
Entries now have an id, the file name without the boot counter and with its .conf or .efi extension in lower case, which is what systemd-boot publishes in LoaderEntries and LoaderEntrySelected and what bootctl expects. LoaderEntryDefault, LoaderEntryOneShot and loader.conf match by id, ignoring case, with *, ? and [a-z], and no longer match titles or numbers. A type 1 and a type 2 entry with the same name no longer clash. @saved now works from LoaderEntryDefault as well, stops saving when it is not asked for, and removes a stale saved entry. LoaderEntryPreferred and the loader.conf preferred key select an entry that skips bad boot counter entries. An entry with no tries left that is booted by hand is counted too, and a read-only entry file is left alone. Type 1 entries can name an architecture, which hides them on another architecture, and a uki with an optional profile. Files that start with auto- are ignored. loader.conf is read lossily, and a failed measurement no longer stops the boot.
Sprout Bootloader
The main bootable crate of the Sprout bootloader.