Skip to content

feat(grubby): provide the /etc/sysconfig/kernel file#17547

Merged
reubeno merged 1 commit into
microsoft:4.0from
ddstreet:grubby-f44
May 28, 2026
Merged

feat(grubby): provide the /etc/sysconfig/kernel file#17547
reubeno merged 1 commit into
microsoft:4.0from
ddstreet:grubby-f44

Conversation

@ddstreet
Copy link
Copy Markdown
Contributor

@ddstreet ddstreet commented May 28, 2026

This file has a setting, UPDATEDEFAULT=, which is used by the kernel-install (aka installkernel) program to determine if the default kernel should be updated to use the newly installed kernel.

This sets UPDATEDEFAULT=yes, so a newly installed kernel will be set as the default kernel (on the next boot); without this, the default kernel will remain set to the current kernel.

Taken from upstream:
https://src.fedoraproject.org/rpms/grubby/c/482a2825c47c4fd28a18beb279a3e826461bf878

Fixes: AB#20392

This file has a setting, UPDATEDEFAULT=, which is used by the
kernel-install (aka installkernel) program to determine if the default
kernel should be updated to use the newly installed kernel.

This sets UPDATEDEFAULT=yes, so a newly installed kernel will be set
as the default kernel (on the next boot); without this, the default
kernel will remain set to the current kernel.

Taken from upstream:
https://src.fedoraproject.org/rpms/grubby/c/482a2825c47c4fd28a18beb279a3e826461bf878

Fixes: AB#20392
Copilot AI review requested due to automatic review settings May 28, 2026 19:35
@ddstreet
Copy link
Copy Markdown
Contributor Author

verified issue, on fresh azl4 beta instance:

$ uname -r
6.18.29-1.1.azl4.x86_64
$ sudo dnf update -y
...(installs new kernel)...
$ sudo reboot
...(reboots)...
$ uname -r
6.18.29-1.1.azl4.x86_64

verified fix, on fresh azl4 beta instance:

$ uname -r
6.18.29-1.1.azl4.x86_64
$ sudo dnf install -y ./grubby-8.40-88.azl4.x86_64.rpm
$ sudo dnf update -y
...(installs new kernel)...
$ sudo reboot
...(reboots)...
$ uname -r
6.18.31-1.3.azl4.x86_64

@reubeno reubeno merged commit 19128f4 into microsoft:4.0 May 28, 2026
9 checks passed
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.

2 participants