Do not set root with not copying default
This commit is contained in:
parent
585b6cb864
commit
c2d08566dd
@ -827,13 +827,16 @@ fi
|
|||||||
remove_var_prefix "$(get_prefix)"
|
remove_var_prefix "$(get_prefix)"
|
||||||
|
|
||||||
if [[ -n $kernel ]]; then
|
if [[ -n $kernel ]]; then
|
||||||
|
if [[ $copy_default = "true" ]]; then
|
||||||
opts="${bls_options[$default_index]}"
|
opts="${bls_options[$default_index]}"
|
||||||
if [[ $copy_default != "true" ]]; then
|
|
||||||
opts=$(echo $opts | sed -e 's/ .*//')
|
|
||||||
fi
|
|
||||||
if [[ -n $args ]]; then
|
if [[ -n $args ]]; then
|
||||||
opts="${opts} ${args}"
|
opts="${opts} ${args}"
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
opts="${opts} ${args}"
|
||||||
|
remove_args="$kernelopts"
|
||||||
|
update_args "${opts}" "${remove_args}" ""
|
||||||
|
fi
|
||||||
|
|
||||||
add_bls_fragment "${kernel}" "${title}" "${opts}" "${initrd}" \
|
add_bls_fragment "${kernel}" "${title}" "${opts}" "${initrd}" \
|
||||||
"${extra_initrd}"
|
"${extra_initrd}"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Name: grubby
|
Name: grubby
|
||||||
Version: 8.40
|
Version: 8.40
|
||||||
Release: 62%{?dist}
|
Release: 63%{?dist}
|
||||||
Summary: Command line tool for updating bootloader configs
|
Summary: Command line tool for updating bootloader configs
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/rhinstaller/grubby
|
URL: https://github.com/rhinstaller/grubby
|
||||||
@ -131,6 +131,10 @@ current boot environment.
|
|||||||
%{_mandir}/man8/*.8*
|
%{_mandir}/man8/*.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 21 2023 Marta Lewandowska <mlewando@redhat.com> - 8.40-63
|
||||||
|
- remove root= when not copying default
|
||||||
|
- Resolves: #2127453
|
||||||
|
|
||||||
* Wed Feb 15 2022 Robbie Harwood <rharwood@redhat.com> - 8.40-62
|
* Wed Feb 15 2022 Robbie Harwood <rharwood@redhat.com> - 8.40-62
|
||||||
- Apply Marta's default args fix
|
- Apply Marta's default args fix
|
||||||
- Resolves: #2127453
|
- Resolves: #2127453
|
||||||
|
Loading…
Reference in New Issue
Block a user