Add zstd to the EFI module list.

cmurf and javierm noticed[0] that we don't have zstd enabled, and that could
cause issues in some cases for /boot on btrfs subvolumes.  This adds it to our
module list.

[0] https://github.com/rhinstaller/anaconda/pull/2255#discussion_r359123085

Related: rhbz#1418336

Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
Peter Jones 2020-01-06 10:23:51 -05:00
parent 0cb30b7d2b
commit 190e583e94
2 changed files with 6 additions and 2 deletions

View file

@ -394,7 +394,7 @@ GRUB_MODULES=" all_video boot blscfg btrfs \\\
password_pbkdf2 pgp png reboot \\\ password_pbkdf2 pgp png reboot \\\
regexp search search_fs_uuid search_fs_file \\\ regexp search search_fs_uuid search_fs_file \\\
search_label serial sleep syslinuxcfg test tftp \\\ search_label serial sleep syslinuxcfg test tftp \\\
version video xfs" \ version video xfs zstd " \
GRUB_MODULES+=%{efi_modules} \ GRUB_MODULES+=%{efi_modules} \
%{expand:%%{mkimage %{1} %{2} %{3} %{4}}} \ %{expand:%%{mkimage %{1} %{2} %{3} %{4}}} \
%{nil} %{nil}

View file

@ -9,7 +9,7 @@
Name: grub2 Name: grub2
Epoch: 1 Epoch: 1
Version: 2.04 Version: 2.04
Release: 6%{?dist} Release: 7%{?dist}
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/
@ -512,6 +512,10 @@ rm -r /boot/grub2.tmp/ || :
%endif %endif
%changelog %changelog
* Mon Jan 06 2020 Peter Jones <pjones@redhat.com> - 2.04-7
- Add zstd to the EFI module list.
Related: rhbz#1418336
* Thu Dec 05 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.04-6 * Thu Dec 05 2019 Javier Martinez Canillas <javierm@redhat.com> - 2.04-6
- Various grub2 cleanups (pbrobinson) - Various grub2 cleanups (pbrobinson)
- Another fix for blscfg variable expansion support - Another fix for blscfg variable expansion support