diff --git a/grubby-bls b/grubby-bls index f5b97350dbd69271506176eeb41096654873f931..07df5c87627c2da885793c7856487007f7ceb9fa 100755 --- a/grubby-bls +++ b/grubby-bls @@ -500,7 +500,7 @@ update_bls_fragment() { if [[ -n $old_args ]]; then opts="$(update_args "${old_args}" "${remove_args}" "${add_args}")" opts="$(echo "$opts" | sed -e 's/\//\\\//g')" - sed -i -e "s/^GRUB_CMDLINE_LINUX.*/GRUB_CMDLINE_LINUX=\\\"${opts}\\\"/" "${grub_etc_default}" + sed -i -e "s/^GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\\\"${opts}\\\"/" "${grub_etc_default}" fi fi diff --git a/grubby.spec b/grubby.spec index e82ceb889af085fe06b73f64618b45973775ef8c..b6177379e5b0dbe337f16f09b7f942e135f8c0bb 100644 --- a/grubby.spec +++ b/grubby.spec @@ -2,7 +2,7 @@ Name: grubby Version: 8.40 -Release: 48%{anolis_release}%{?dist} +Release: 49%{anolis_release}%{?dist} Summary: Command line tool for updating BootLoaderSpec files License: GPLv2+ URL: https://github.com/rhinstaller/grubby @@ -182,12 +182,16 @@ current boot environment. %{_mandir}/man8/*.8* %changelog -* Tue Dec 12 2023 yangxiaoxuan - 8.40-48.0.1 +* Thu Jul 18 2024 yangxiaoxuan - 8.40-49.0.1 - Rebrand for Anolis OS - Support loongarch64 - fix build error with gcc9.2 - Fix gcc10 build issue +* Wed Jan 10 2024 Marta Lewandowska - 8.40-49 +- Do not overwrite all vars that start with GRUB_CMDLINE_LINUX +- Resolves: #RHEL-12853 + * Tue Feb 21 2023 Marta Lewandowska - 8.40-48 - Apply Marta's default args fix - Resolves: #1900829