Add server-kernel versioning to PKGBUILD

This commit is contained in:
JeremyStar™ 2024-03-11 18:07:07 +01:00
parent 03a8e65c22
commit 1d3acb38fe
2 changed files with 4 additions and 2 deletions

View file

@ -91,6 +91,7 @@
### BUILD OPTIONS END
_serverkernel_version=sk1
_kerneloptimized_version=ko1
_kernel_major=6.7
_kernel_minor=9
@ -98,7 +99,7 @@ _gcc_more_v='20240221.2'
_srcname_linux=linux-${_kernel_major}
_srcname_clpatches=${_kernel_major}.8-1413
pkgbase=linux-server-kernel
pkgver=linux${_kernel_major}.${_kernel_minor}+clear${_srcname_clpatches//-/_}+${_kerneloptimized_version}
pkgver=linux${_kernel_major}.${_kernel_minor}+clear${_srcname_clpatches//-/_}+${_kerneloptimized_version}+${_serverkernel_version}
pkgrel=1
pkgdesc="Optimized Linux kernel. Includes Clear Linux's kernel config and some tweaks made by StarOpenSource and upstream (JeremyStarTM)."
arch=('x86_64')

View file

@ -7,6 +7,7 @@
# All build options have been removed as this PKGBUILD is exclusively used for buildtool.sh.
# If you want to build linux-jstm-optimized without using buildtool.sh use the other PKGBUILD file instead.
_serverkernel_version=sk1
_kerneloptimized_version=ko1
_kernel_major=6.7
_kernel_minor=9
@ -14,7 +15,7 @@ _gcc_more_v='20240221.2'
_srcname_linux=linux-${_kernel_major}
_srcname_clpatches=${_kernel_major}.8-1413
pkgbase=linux-server-kernel
pkgver=linux${_kernel_major}.${_kernel_minor}+clear${_srcname_clpatches//-/_}+${_kerneloptimized_version}
pkgver=linux${_kernel_major}.${_kernel_minor}+clear${_srcname_clpatches//-/_}+${_kerneloptimized_version}+${_serverkernel_version}
pkgrel=1
pkgdesc="Optimized Linux kernel. Includes Clear Linux's kernel config and some tweaks made by StarOpenSource and upstream (JeremyStarTM)."
arch=('x86_64')