Update cfg when setting a default kernel

Resolves:#RHEL-101784

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:17:16 -06:00
parent 2d21d90d42
commit 4c1f179617
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

@ -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 <lsandova@redhat.com> - 8.40-83
- Update cfg when setting a default kernel
Resolves:#RHEL-101784
* Wed Apr 16 2025 Andrea Bolognani <abologna@redhat.com> - 8.40-82
- Fix riscv64 build
Resolves: RHEL-85989