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

index 3513bbb2c54a2b1f779bb7cfa2a42eee8d2e85c6..d10d1eb4f05ace6d21afbc769b05d2d47b9763c0 100644 (file)
@@ -7,7 +7,11 @@
 %define                postver         214
 %define                rel             1
 
-%define                alt_kernel      %{nil}
+%define                __alt_kernel    %{nil}
+
+%if "%{__alt_kernel}" != ""
+%define                alt_kernel      %{__alt_kernel}
+%endif
 
 %define                versuffix       -%{basever}