Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bls fixes #22

Merged
merged 4 commits into from
Nov 13, 2023
Merged

Bls fixes #22

merged 4 commits into from
Nov 13, 2023

Conversation

swapdisk
Copy link
Member

Fixing another way the wrong kernel version will be seen booting after rolling back. This failure mode happens when there is no saved_entry configured in the /boot/grub2/grubenv file. When this is true, the default boot entry is undefined and index 0 is booted by default. The issue comes when a newer BLS kernel entry has been dropped under the /boot/loader/entries directory making it the new default. To get around this, we add a saved_entry configuration to grubenv if it doesn't already exist before creating the boot backup and snapshots.

@swapdisk swapdisk merged commit 244e3f4 into main Nov 13, 2023
14 checks passed
@swapdisk swapdisk deleted the bls_fixes branch November 14, 2023 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant