Fix the patch
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
b81850c468
commit
2ba5cca838
@ -12,11 +12,11 @@ index 7d56eae..221c46d 100644
|
|||||||
EFI_VENDOR ?= $(call get-config,vendor)
|
EFI_VENDOR ?= $(call get-config,vendor)
|
||||||
|
|
||||||
diff --git a/efi-rpm-macros.spec.in b/efi-rpm-macros.spec.in
|
diff --git a/efi-rpm-macros.spec.in b/efi-rpm-macros.spec.in
|
||||||
index a9aaf6d..d36a8d5 100644
|
index e03262e..64a7109 100644
|
||||||
--- a/efi-rpm-macros.spec.in
|
--- a/efi-rpm-macros.spec.in
|
||||||
+++ b/efi-rpm-macros.spec.in
|
+++ b/efi-rpm-macros.spec.in
|
||||||
@@ -39,7 +39,7 @@ machine bootloaders and tools.
|
@@ -36,7 +36,7 @@ machine bootloaders and tools.
|
||||||
%autosetup -S git -n %{name}-@@EFI_SOURCE_VERSION@@
|
%autosetup -S git_am -n %{name}-@@EFI_SOURCE_VERSION@@
|
||||||
git config --local --add efi.vendor "%{_efi_vendor_}"
|
git config --local --add efi.vendor "%{_efi_vendor_}"
|
||||||
git config --local --add efi.esp-root /boot/efi
|
git config --local --add efi.esp-root /boot/efi
|
||||||
-git config --local --add efi.arches "x86_64 aarch64 %{arm} %{ix86}"
|
-git config --local --add efi.arches "x86_64 aarch64 %{arm} %{ix86}"
|
@ -11,7 +11,7 @@ BuildArch: noarch
|
|||||||
Source0: https://github.com/rhboot/%{name}/releases/download/%{version}/%{name}-5.tar.bz2
|
Source0: https://github.com/rhboot/%{name}/releases/download/%{version}/%{name}-5.tar.bz2
|
||||||
|
|
||||||
Patch0001: 0001-Don-t-have-arm-as-an-alt-arch-of-aarch64.patch
|
Patch0001: 0001-Don-t-have-arm-as-an-alt-arch-of-aarch64.patch
|
||||||
Patch0002: efi-rpm-macros-4-riscv64.patch
|
Patch0002: efi-rpm-macros-5-riscv64.patch
|
||||||
|
|
||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
%global _efi_vendor_ %(eval echo $(sed -n -e 's/rhel/redhat/' -e 's/^ID=//p' /etc/os-release))
|
%global _efi_vendor_ %(eval echo $(sed -n -e 's/rhel/redhat/' -e 's/^ID=//p' /etc/os-release))
|
||||||
|
Loading…
Reference in New Issue
Block a user