diff --git a/grubby-bls b/grubby-bls index 360c6e81067599db8340609460eb9224810b4f3d..f5b97350dbd69271506176eeb41096654873f931 100755 --- a/grubby-bls +++ b/grubby-bls @@ -812,7 +812,9 @@ if [[ -n $kernel ]]; then opts="${opts} ${args}" fi else - opts="${args}" + opts="${opts} ${args}" + remove_args="$kernelopts" + update_args "${opts}" "${remove_args}" "" fi add_bls_fragment "${kernel}" "${title}" "${opts}" "${initrd}" \ diff --git a/grubby.spec b/grubby.spec index 0ed1620faccb378e6da251e092e46889c232cc22..e82ceb889af085fe06b73f64618b45973775ef8c 100644 --- a/grubby.spec +++ b/grubby.spec @@ -2,7 +2,7 @@ Name: grubby Version: 8.40 -Release: 47%{anolis_release}%{?dist} +Release: 48%{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 Jan 03 2023 yangxiaoxuan - 8.40-47.0.1 +* Tue Dec 12 2023 yangxiaoxuan - 8.40-48.0.1 - Rebrand for Anolis OS - Support loongarch64 - fix build error with gcc9.2 - Fix gcc10 build issue +* Tue Feb 21 2023 Marta Lewandowska - 8.40-48 +- Apply Marta's default args fix +- Resolves: #1900829 + * Mon Oct 10 2022 Robbie Harwood - 8.40-47 - Backport fedora/rhel9 initial cmdline population - Resolves: #2129740