systemd-boot apparently supports a loader.conf default @saved setting. [1], [2] (thanks to @aj8xr0 for the pointer).
The goal of the prefer code path would be to have blsforme ensure that the preferred kernel is correctly set in loader.conf (whatever that ends up looking like).
It might even support auto-updating to prefer the newest "aerynos*" family kernel that we are booted into.
The idea is to be able to manually run moss boot prefer <the releveant kernel version string> (with autocomplete support), followed by moss boot sync.
This feature should also enable us to select non-aerynos kernels for dual-boot purposes.
1: https://www.man7.org/linux/man-pages/man7/systemd-boot.7.html
2: https://www.man7.org/linux/man-pages/man5/loader.conf.5.html
systemd-boot apparently supports a
loader.confdefault @savedsetting. [1], [2] (thanks to @aj8xr0 for the pointer).The goal of the
prefercode path would be to have blsforme ensure that the preferred kernel is correctly set inloader.conf(whatever that ends up looking like).It might even support auto-updating to prefer the newest "aerynos*" family kernel that we are booted into.
The idea is to be able to manually run
moss boot prefer <the releveant kernel version string>(with autocomplete support), followed bymoss boot sync.This feature should also enable us to select non-aerynos kernels for dual-boot purposes.
1: https://www.man7.org/linux/man-pages/man7/systemd-boot.7.html
2: https://www.man7.org/linux/man-pages/man5/loader.conf.5.html