From b96c24418bab7967a3e6c567b844b94fab53eb43 Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Wed, 13 Sep 2023 14:08:47 +0000 Subject: [PATCH] Fix gnu-efi patch --- SOURCES/sbsigntools-gnuefi.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SOURCES/sbsigntools-gnuefi.patch b/SOURCES/sbsigntools-gnuefi.patch index 2e28883..175950c 100644 --- a/SOURCES/sbsigntools-gnuefi.patch +++ b/SOURCES/sbsigntools-gnuefi.patch @@ -7,8 +7,8 @@ diff -up sbsigntools-0.9.3/configure.ac.gnu-efi sbsigntools-0.9.3/configure.ac dnl gnu-efi headers require extra include dirs -EFI_ARCH=$(uname -m | sed 's/i.86/ia32/;s/arm.*/arm/') -AM_CONDITIONAL(TEST_BINARY_FORMAT, [ test "$EFI_ARCH" = "arm" -o "$EFI_ARCH" = "aarch64" ]) -+EFI_ARCH=$(uname -m | sed -e 's/i.86/ia32/;s/arm.*/arm/' -e 's/x86_64/x64/' -e 's/aarch64/aa64/') -+AM_CONDITIONAL(TEST_BINARY_FORMAT, [ test "$EFI_ARCH" = "arm" -o "$EFI_ARCH" = "aa64" ]) ++EFI_ARCH=$(uname -m | sed 's/i.86/ia32/;s/arm.*/arm/') ++AM_CONDITIONAL(TEST_BINARY_FORMAT, [ test "$EFI_ARCH" = "arm" -o "$EFI_ARCH" = "aarch64" ]) ## # no consistent view of where gnu-efi should dump the efi stuff, so find it