From 2bba6885d7697092c998ccdbc5819e5f09e05b91 Mon Sep 17 00:00:00 2001 From: ebasov Date: Tue, 3 Dec 2024 19:13:07 +0300 Subject: [PATCH] Fix logical chain --- SPECS/kernel-lt-6.1.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SPECS/kernel-lt-6.1.spec b/SPECS/kernel-lt-6.1.spec index c1067e8..3c3ed28 100644 --- a/SPECS/kernel-lt-6.1.spec +++ b/SPECS/kernel-lt-6.1.spec @@ -719,9 +719,9 @@ if [ "%{zipmodules}" -eq "1" ]; then \ find $RPM_BUILD_ROOT/lib/modules/ -name '*.ko' -type f | xargs --no-run-if-empty -P%{zcpu} xz \ fi \ %{nil} +%endif -%else - +%ifarch aarch64 %define __modsign_install_post \ if [ "%{signmodules}" -eq "1" ]; then \ if [ "%{with_std}" -ne "0" ]; then \ @@ -732,7 +732,7 @@ if [ "%{zipmodules}" -eq "1" ]; then \ find $RPM_BUILD_ROOT/lib/modules/ -name '*.ko' -type f | xargs --no-run-if-empty -P%{zcpu} xz \ fi \ %{nil} - +%endif # # Ensure modules are signed *after* all invocations of