Closed Samsagax closed 1 year ago
How does this prevent breaking the install after kernel updates?
This would require manually running frzr-deploy --update-bootloader
but it would generate a bootloader config that attempts to boot the same kernel as before, thus still causing boot failure.
It's true we need to run it manually. We can do a pacman hook for it to run automatically. It will copy the generated initramfs and kernel image to the deployments boot so it will match the installed modules (the thing preventing from boot). The bootloader configuration will be reset to our default.
I prefer this solution for the problem of kernel updates when unlocked: https://github.com/ChimeraOS/frzr/commit/62934aefc38d350e54cca7585ae8e594377456df
I prefer this solution for the problem of kernel updates when unlocked: 62934ae
Seems simpler. Maybe this one could help on argument parsing. If you prefer I'll only keep that part.
Closing in favor of #25
Allow for kernel updates without breaking the install