import grubby-8.40-42.el8

This commit is contained in:
CentOS Sources 2021-11-09 05:09:49 -05:00 committed by Stepan Oksanichenko
parent af0753f6c8
commit 4c9832f7f2
2 changed files with 6 additions and 2 deletions

View File

@ -235,7 +235,7 @@ get_bls_args() {
local opts=(${args})
for opt in ${opts[*]}; do
if [[ $opt =~ ^\$ ]]; then
if [[ $opt = "\$kernelopts" ]]; then
value="$(expand_var $opt)"
args="$(echo ${args} | sed -e "s/${opt}/${value}/")"
fi

View File

@ -1,6 +1,6 @@
Name: grubby
Version: 8.40
Release: 41%{?dist}
Release: 42%{?dist}
Summary: Command line tool for updating BootLoaderSpec files
License: GPLv2+
URL: https://github.com/rhinstaller/grubby
@ -169,6 +169,10 @@ current boot environment.
%{_mandir}/man8/*.8*
%changelog
* Wed Jun 09 2021 Javier Martinez Canillas <javierm@redhat.com> - 8.40-42
- grubby-bls: expand only the kernelopts variable
Resolves: rhbz#1819666
* Thu May 07 2020 Javier Martinez Canillas <javierm@redhat.com> - 8.40-41
- grubby-bls: only attempt to update the cmdline if was already set
Related: rhbz#1152027