Do not set root with not copying default
This commit is contained in:
parent
d696710922
commit
8656bfd565
15
grubby-bls
15
grubby-bls
@ -827,12 +827,15 @@ fi
|
|||||||
remove_var_prefix "$(get_prefix)"
|
remove_var_prefix "$(get_prefix)"
|
||||||
|
|
||||||
if [[ -n $kernel ]]; then
|
if [[ -n $kernel ]]; then
|
||||||
opts="${bls_options[$default_index]}"
|
if [[ $copy_default = "true" ]]; then
|
||||||
if [[ $copy_default != "true" ]]; then
|
opts="${bls_options[$default_index]}"
|
||||||
opts=$(echo $opts | sed -e 's/ .*//')
|
if [[ -n $args ]]; then
|
||||||
fi
|
opts="${opts} ${args}"
|
||||||
if [[ -n $args ]]; then
|
fi
|
||||||
opts="${opts} ${args}"
|
else
|
||||||
|
opts="${opts} ${args}"
|
||||||
|
remove_args="$kernelopts"
|
||||||
|
update_args "${opts}" "${remove_args}" ""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
add_bls_fragment "${kernel}" "${title}" "${opts}" "${initrd}" \
|
add_bls_fragment "${kernel}" "${title}" "${opts}" "${initrd}" \
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: grubby
|
Name: grubby
|
||||||
Version: 8.40
|
Version: 8.40
|
||||||
Release: 69%{?dist}
|
Release: 70%{?dist}
|
||||||
Summary: Command line tool for updating bootloader configs
|
Summary: Command line tool for updating bootloader configs
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Source1: grubby-bls
|
Source1: grubby-bls
|
||||||
@ -77,6 +77,9 @@ fi
|
|||||||
%{_mandir}/man8/grubby.8*
|
%{_mandir}/man8/grubby.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 21 2023 Marta Lewandowska <mlewando@redhat.com> - 8.40-70
|
||||||
|
- remove root= when not copying default
|
||||||
|
|
||||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 8.40-69
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 8.40-69
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user