From 56c0cc29b22caa5b916e01facdeea16905bea5b6 Mon Sep 17 00:00:00 2001 From: Yuriy Kohut Date: Tue, 30 Apr 2024 12:58:52 +0300 Subject: [PATCH] Change to proper directory for the mod-sign.sh to work. --- SPECS/kernel-lt-6.1.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SPECS/kernel-lt-6.1.spec b/SPECS/kernel-lt-6.1.spec index 21beed159..b38cfc45f 100644 --- a/SPECS/kernel-lt-6.1.spec +++ b/SPECS/kernel-lt-6.1.spec @@ -698,7 +698,9 @@ popd > /dev/null %define __modsign_install_post \ if [ "%{signmodules}" -eq "1" ]; then \ if [ "%{with_std}" -ne "0" ]; then \ + cd linux-%{KVERREL} \ %{SOURCE21} certs/signing_key.pem.sign certs/signing_key.x509.sign $RPM_BUILD_ROOT/lib/modules/%{KVERREL}/ \ + cd - \ fi \ fi \ if [ "%{zipmodules}" -eq "1" ]; then \ -- 2.43.5