Update cfg when setting a default kernel

Resolves: #RHEL-106612

Signed-off-by: Raju Cheerla <rcheerla@redhat.com>
Signed-off-by: Leo Sandoval <lsandova@redhat.com>
This commit is contained in:
Leo Sandoval 2025-07-30 11:57:31 -06:00
parent 21c8949650
commit 15df64d0ea
2 changed files with 6 additions and 2 deletions

View File

@ -563,7 +563,7 @@ set_default_bls() {
echo "default=${default}" >> "${zipl_config}"
fi
fi
update_grubcfg
print_info "The default is ${bls_file[$index]} with index $index and kernel $(get_prefix)${bls_linux[$index]}"
}

View File

@ -1,6 +1,6 @@
Name: grubby
Version: 8.40
Release: 67%{?dist}
Release: 68%{?dist}
Summary: Command line tool for updating bootloader configs
License: GPLv2+
URL: https://github.com/rhinstaller/grubby
@ -131,6 +131,10 @@ current boot environment.
%{_mandir}/man8/*.8*
%changelog
* Wed Jul 30 2025 Leo Sandoval <lsandova@redhat.com> - 8.40-68
- Update cfg when setting a default kernel
Resolves: #RHEL-106612
* Mon May 19 2025 Nicolas Frayer <nfrayer@redhat.com> - 8.40-67
- Bump NVR
- Related: #RHEL-61421