From 4c1f179617f973e163898797a2759b3bc46f8eae Mon Sep 17 00:00:00 2001 From: Leo Sandoval Date: Wed, 30 Jul 2025 11:17:16 -0600 Subject: [PATCH] Update cfg when setting a default kernel Resolves:#RHEL-101784 Signed-off-by: Raju Cheerla Signed-off-by: Leo Sandoval --- grubby-bls | 2 +- grubby.spec | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/grubby-bls b/grubby-bls index 1e8901c..aad243d 100755 --- a/grubby-bls +++ b/grubby-bls @@ -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]}" } diff --git a/grubby.spec b/grubby.spec index 63167c8..7337daf 100644 --- a/grubby.spec +++ b/grubby.spec @@ -3,7 +3,7 @@ Name: grubby Version: 8.40 -Release: 82%{?dist} +Release: 83%{?dist} Summary: Command line tool for updating bootloader configs License: GPL-2.0-or-later Source1: grubby-bls @@ -74,6 +74,10 @@ fi %{_mandir}/man8/grubby.8* %changelog +* Wed Jul 30 2025 Leo Sandoval - 8.40-83 +- Update cfg when setting a default kernel + Resolves:#RHEL-101784 + * Wed Apr 16 2025 Andrea Bolognani - 8.40-82 - Fix riscv64 build Resolves: RHEL-85989