Fix a rpm macro evaluation mishap

We need to pad our module list with spaces at all times, or else we get
'xfshttp' as a module on EFI and the build fails.

Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
Peter Jones 2018-06-19 11:09:59 -04:00
parent 448fa56b6a
commit fff16d8da3

View file

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