]> TLD Linux GIT Repositories - packages/kernel.git/commitdiff
- fix alt_kernel
authorMarcin Krol <hawk@tld-linux.org>
Fri, 29 Mar 2024 20:35:40 +0000 (21:35 +0100)
committerMarcin Krol <hawk@tld-linux.org>
Fri, 29 Mar 2024 20:35:40 +0000 (21:35 +0100)
kernel.spec

index 6a3aa6e86fd63ed70ccdba2979cf2fd2cf33dbc0..fb26cb507fbc5cf54836c7a80a9748e6b39808b4 100644 (file)
@@ -7,7 +7,11 @@
 %define                postver         153
 %define                rel             1
 
-%define                alt_kernel      %{nil}
+%define                __alt_kernel    %{nil}
+
+%if "%{__alt_kernel}" != ""
+%define                alt_kernel      %{__alt_kernel}
+%endif
 
 %define                versuffix       -%{basever}