Fix sign aarch64 (Added %{_build_arch})

i9
ebasov 3 weeks ago
parent d35f9e0168
commit 56aac15a7a
Signed by: ebasov
GPG Key ID: 3DE9E7A44B2D38F6

@ -709,7 +709,7 @@ popd > /dev/null
%define __modsign_install_post \ %define __modsign_install_post \
if [ "%{signmodules}" -eq "1" ]; then \ if [ "%{signmodules}" -eq "1" ]; then \
if [ "%{with_std}" -ne "0" ]; 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 \
fi \ fi \
if [ "%{zipmodules}" -eq "1" ]; then \ if [ "%{zipmodules}" -eq "1" ]; then \

Loading…
Cancel
Save