From 56aac15a7ad65a6fb9ab78d905dc616d7db57a22 Mon Sep 17 00:00:00 2001 From: ebasov Date: Wed, 4 Dec 2024 11:20:34 +0300 Subject: [PATCH] Fix sign aarch64 (Added %{_build_arch}) --- SPECS/kernel-lt66-6.6.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPECS/kernel-lt66-6.6.spec b/SPECS/kernel-lt66-6.6.spec index 720b098..b6868c9 100644 --- a/SPECS/kernel-lt66-6.6.spec +++ b/SPECS/kernel-lt66-6.6.spec @@ -709,7 +709,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 \