diff --git a/SPECS/grub2.spec b/SPECS/grub2.spec index 8319cba..c019f67 100644 --- a/SPECS/grub2.spec +++ b/SPECS/grub2.spec @@ -16,7 +16,7 @@ Name: grub2 Epoch: 1 Version: 2.06 -Release: 70%{?dist}.2.alma.2 +Release: 70%{?dist}.2.alma.3 Summary: Bootloader with support for Linux, Multiboot and more License: GPLv3+ URL: http://www.gnu.org/software/grub/ @@ -332,7 +332,9 @@ if test ! -f ${EFI_HOME}/grub.cfg; then fi 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 # create a stub grub2 config in EFI @@ -524,6 +526,9 @@ mv ${EFI_HOME}/grub.cfg.stb ${EFI_HOME}/grub.cfg %endif %changelog +* Mon Mar 25 2024 Eduard Abdullin - 2.06-70.2.alma.3 +- Add check that --root-dev-only exists in grub.cfg + * Thu Feb 15 2024 Eduard Abdullin - 2.06-70.2.alma.2 - Add --root-dev-only flag