- Add --root-dev-only flag
This commit is contained in:
parent
b82af8d853
commit
86266815e2
@ -16,7 +16,7 @@
|
|||||||
Name: grub2
|
Name: grub2
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 2.06
|
Version: 2.06
|
||||||
Release: 70%{?dist}.2.alma.1
|
Release: 70%{?dist}.2.alma.2
|
||||||
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/
|
||||||
@ -340,7 +340,7 @@ BOOT_UUID=$(%{name}-probe --target=fs_uuid ${GRUB_HOME})
|
|||||||
GRUB_DIR=$(%{name}-mkrelpath ${GRUB_HOME})
|
GRUB_DIR=$(%{name}-mkrelpath ${GRUB_HOME})
|
||||||
|
|
||||||
cat << EOF > ${EFI_HOME}/grub.cfg.stb
|
cat << EOF > ${EFI_HOME}/grub.cfg.stb
|
||||||
search --no-floppy --fs-uuid --set=dev ${BOOT_UUID}
|
search --no-floppy --root-dev-only --fs-uuid --set=dev ${BOOT_UUID}
|
||||||
set prefix=(\$dev)${GRUB_DIR}
|
set prefix=(\$dev)${GRUB_DIR}
|
||||||
export \$prefix
|
export \$prefix
|
||||||
configfile \$prefix/grub.cfg
|
configfile \$prefix/grub.cfg
|
||||||
@ -524,6 +524,9 @@ mv ${EFI_HOME}/grub.cfg.stb ${EFI_HOME}/grub.cfg
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 15 2024 Eduard Abdullin <eabdullin@almalinux.org> - 2.06-70.2.alma.2
|
||||||
|
- Add --root-dev-only flag
|
||||||
|
|
||||||
* Thu Jan 25 2024 Eduard Abdullin <eabdullin@almalinux.org> - 2.06-70.2.alma.1
|
* Thu Jan 25 2024 Eduard Abdullin <eabdullin@almalinux.org> - 2.06-70.2.alma.1
|
||||||
- search command: add flag to only search root dev
|
- search command: add flag to only search root dev
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user