clr-boot-manager
clr-boot-manager copied to clipboard
Ensure compliance with freedesktop bootloader specification
Main ticket items:
- Write the
versionstring for systemd-boot - Write the
machine-idstring for systemd-boot - Encode
machine-idinto target filenames on all systems
For natively booted systems, utilise the machine-id to ensure unique paths. This will ensure that CBM managed OSs can dual-boot with themselves (Dev/Production split)
For image mode builds, continue to use the current paths. This ensures that the first time CBM is run natively, it will perform a migration to the now-available machine-id filenames.
Sidenotes: We'll need to introduce some kind of FileCopier mechanism which can handle all of the migrations we do. This will also help us handle secure boot file assets, etc.