From e0f7f992a8d9a0fc19377f2ba3a5d91dc1a8ae88 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Fri, 18 Aug 2017 17:34:33 -0400 Subject: [PATCH] Add the .img files into grub2-pc-modules (and all legacy variants) autoqa is seeing a failure that looks like: 13:50:17,909 INF program: grub2-install: error: cannot open `/usr/lib/grub/i386-pc/lzma_decompress.img': No such file or directory. And it's because the .img files are currently excluded. So put them back. Signed-off-by: Peter Jones --- grub.macros | 2 +- grub2.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/grub.macros b/grub.macros index 86bca620..f23cf78d 100644 --- a/grub.macros +++ b/grub.macros @@ -442,7 +442,7 @@ touch ${RPM_BUILD_ROOT}/boot/%{name}/grub.cfg \ %dir %{_libdir}/grub/%{2}/ \ %{_libdir}/grub/%{2}/* \ %exclude %{_libdir}/grub/%{2}/*.module \ -%exclude %{_libdir}/grub/%{2}/{boot,boot_hybrid,cdboot,diskboot,lzma_decompress,pxeboot}.{image,img} \ +%exclude %{_libdir}/grub/%{2}/{boot,boot_hybrid,cdboot,diskboot,lzma_decompress,pxeboot}.image \ %exclude %{_libdir}/grub/%{2}/*.o \ %{nil} diff --git a/grub2.spec b/grub2.spec index d17b0563..702ceeba 100644 --- a/grub2.spec +++ b/grub2.spec @@ -7,7 +7,7 @@ Name: grub2 Epoch: 1 Version: 2.02 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Bootloader with support for Linux, Multiboot and more Group: System Environment/Base License: GPLv3+ @@ -492,6 +492,9 @@ fi %endif %changelog +* Fri Aug 18 2017 Peter Jones - 2.02-10 +- Add the .img files into grub2-pc-modules (and all legacy variants) + * Wed Aug 16 2017 Peter Jones - 2.02-9 - Re-work for ia32-efi.