- Add check that --root-dev-only exists in grub.cfg
This commit is contained in:
parent
86266815e2
commit
adde6846f5
@ -16,7 +16,7 @@
|
|||||||
Name: grub2
|
Name: grub2
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 2.06
|
Version: 2.06
|
||||||
Release: 70%{?dist}.2.alma.2
|
Release: 70%{?dist}.2.alma.3
|
||||||
Summary: Bootloader with support for Linux, Multiboot and more
|
Summary: Bootloader with support for Linux, Multiboot and more
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: http://www.gnu.org/software/grub/
|
URL: http://www.gnu.org/software/grub/
|
||||||
@ -332,7 +332,9 @@ if test ! -f ${EFI_HOME}/grub.cfg; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if grep -q "configfile" ${EFI_HOME}/grub.cfg; then
|
if grep -q "configfile" ${EFI_HOME}/grub.cfg; then
|
||||||
exit 0 # already unified, nothing to do
|
if grep -q "--root-dev-only" ${EFI_HOME}/grub.cfg; then
|
||||||
|
exit 0 # already unified, nothing to do
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# create a stub grub2 config in EFI
|
# create a stub grub2 config in EFI
|
||||||
@ -524,6 +526,9 @@ mv ${EFI_HOME}/grub.cfg.stb ${EFI_HOME}/grub.cfg
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 25 2024 Eduard Abdullin <eabdullin@almalinux.org> - 2.06-70.2.alma.3
|
||||||
|
- Add check that --root-dev-only exists in grub.cfg
|
||||||
|
|
||||||
* Thu Feb 15 2024 Eduard Abdullin <eabdullin@almalinux.org> - 2.06-70.2.alma.2
|
* Thu Feb 15 2024 Eduard Abdullin <eabdullin@almalinux.org> - 2.06-70.2.alma.2
|
||||||
- Add --root-dev-only flag
|
- Add --root-dev-only flag
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user