From 2bb25b68f75e4f516186ef40b12bc19582395156 Mon Sep 17 00:00:00 2001 From: ebasov Date: Wed, 4 Dec 2024 00:37:31 +0300 Subject: [PATCH] Fixing a bug-ridden build for aarch64( Added %{_build_arch} ) --- SPECS/kernel-ml-6.12.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPECS/kernel-ml-6.12.spec b/SPECS/kernel-ml-6.12.spec index b6c223e..c968700 100644 --- a/SPECS/kernel-ml-6.12.spec +++ b/SPECS/kernel-ml-6.12.spec @@ -727,7 +727,7 @@ popd > /dev/null %define __modsign_install_post \ if [ "%{signmodules}" -eq "1" ]; then \ if [ "%{with_std}" -ne "0" ]; then \ - %{SOURCE21} linux-%{version}-%{release}.x86_64/certs/signing_key.pem.sign linux-%{version}-%{release}.x86_64/certs/signing_key.x509.sign $RPM_BUILD_ROOT/lib/modules/%{KVERREL}/ \ + %{SOURCE21} linux-%{version}-%{release}.%{_build_arch}/certs/signing_key.pem.sign linux-%{version}-%{release}.%{_build_arch}/certs/signing_key.x509.sign $RPM_BUILD_ROOT/lib/modules/%{KVERREL}/ \ fi \ fi \ if [ "%{zipmodules}" -eq "1" ]; then \