From 9faeb3a98b1d6bffec526b53b451998f9633f69e Mon Sep 17 00:00:00 2001 From: ebasov Date: Tue, 3 Dec 2024 20:34:15 +0300 Subject: [PATCH] Revert "Adding a logical chain to define the architecture" This reverts commit 48e6f0621ab731b50f43b2a3a3aa0e6edad65f85. --- SPECS/kernel-lt-6.1.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/SPECS/kernel-lt-6.1.spec b/SPECS/kernel-lt-6.1.spec index 35d3eff..c041b98 100644 --- a/SPECS/kernel-lt-6.1.spec +++ b/SPECS/kernel-lt-6.1.spec @@ -707,6 +707,7 @@ popd > /dev/null popd > /dev/null %install +<<<<<<< HEAD %define __modsign_install_post %{nil} %ifarch x86_64 @@ -721,6 +722,12 @@ popd > /dev/null if [ "%{signmodules}" -eq "1" ]; then \ if [ "%{with_std}" -ne "0" ]; then \ %{SOURCE21} %{__modsign_install_post_arch}/certs/signing_key.pem.sign %{__modsign_install_post_arch}/certs/signing_key.x509.sign $RPM_BUILD_ROOT/lib/modules/%{KVERREL}/ \ +======= +%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}/ \ +>>>>>>> parent of 48e6f06 (Adding a logical chain to define the architecture) fi \ fi \ if [ "%{zipmodules}" -eq "1" ]; then \