ostree icon indicating copy to clipboard operation
ostree copied to clipboard

Add hooks for deployment steps to allow bootloader swapping

Open Mstrodl opened this issue 2 months ago • 3 comments

Can be used to provide hooks into a sysroot deploy for tools like bootupd to perform bootloader swaps.

Happy to do this a different way, but this is how we've been doing it on our debian-based system. I understand bootupd is supposed to work a different way. We do it this way because grub-mkconfig will generate a broken config for the older version of grub.

See #3496 for motivation

Mstrodl avatar Oct 22 '25 14:10 Mstrodl

Hi @Mstrodl. Thanks for your PR.

I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

openshift-ci[bot] avatar Oct 22 '25 14:10 openshift-ci[bot]

By the way if this is not something you guys want to take, that's fine too. I just figured other people might find it useful too :)

Mstrodl avatar Oct 22 '25 14:10 Mstrodl

One important info from #3496 that you forgot to repeat here is that Debian version of grub doesn't support BLS (yet), so you can't use bootupd static config :(

champtar avatar Oct 22 '25 15:10 champtar