Draft: main/postmarketos-duranium: add unit to install sd-boot on first boot

This install systemd-boot using bootctl on first boot, creating EFI variables (if the system supports it.) Combined with systemd 261[1], fallback variable will be created to a previous known-good version of sd-boot on subsequent updates so that it's possible to fall back to an older bootloader version if the new one has issues.

Fixes: duranium-build#23

  1. https://github.com/systemd/systemd/pull/41650

Signed-off-by: Clayton Craft craftyguy@postmarketos.org

Edited by Clayton Craft

Merge request reports

Loading