Add server-kernel versioning to PKGBUILD
This commit is contained in:
parent
03a8e65c22
commit
1d3acb38fe
2 changed files with 4 additions and 2 deletions
3
PKGBUILD
3
PKGBUILD
|
@ -91,6 +91,7 @@
|
||||||
|
|
||||||
### BUILD OPTIONS END
|
### BUILD OPTIONS END
|
||||||
|
|
||||||
|
_serverkernel_version=sk1
|
||||||
_kerneloptimized_version=ko1
|
_kerneloptimized_version=ko1
|
||||||
_kernel_major=6.7
|
_kernel_major=6.7
|
||||||
_kernel_minor=9
|
_kernel_minor=9
|
||||||
|
@ -98,7 +99,7 @@ _gcc_more_v='20240221.2'
|
||||||
_srcname_linux=linux-${_kernel_major}
|
_srcname_linux=linux-${_kernel_major}
|
||||||
_srcname_clpatches=${_kernel_major}.8-1413
|
_srcname_clpatches=${_kernel_major}.8-1413
|
||||||
pkgbase=linux-server-kernel
|
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
|
pkgrel=1
|
||||||
pkgdesc="Optimized Linux kernel. Includes Clear Linux's kernel config and some tweaks made by StarOpenSource and upstream (JeremyStarTM)."
|
pkgdesc="Optimized Linux kernel. Includes Clear Linux's kernel config and some tweaks made by StarOpenSource and upstream (JeremyStarTM)."
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
# All build options have been removed as this PKGBUILD is exclusively used for buildtool.sh.
|
# 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.
|
# If you want to build linux-jstm-optimized without using buildtool.sh use the other PKGBUILD file instead.
|
||||||
|
|
||||||
|
_serverkernel_version=sk1
|
||||||
_kerneloptimized_version=ko1
|
_kerneloptimized_version=ko1
|
||||||
_kernel_major=6.7
|
_kernel_major=6.7
|
||||||
_kernel_minor=9
|
_kernel_minor=9
|
||||||
|
@ -14,7 +15,7 @@ _gcc_more_v='20240221.2'
|
||||||
_srcname_linux=linux-${_kernel_major}
|
_srcname_linux=linux-${_kernel_major}
|
||||||
_srcname_clpatches=${_kernel_major}.8-1413
|
_srcname_clpatches=${_kernel_major}.8-1413
|
||||||
pkgbase=linux-server-kernel
|
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
|
pkgrel=1
|
||||||
pkgdesc="Optimized Linux kernel. Includes Clear Linux's kernel config and some tweaks made by StarOpenSource and upstream (JeremyStarTM)."
|
pkgdesc="Optimized Linux kernel. Includes Clear Linux's kernel config and some tweaks made by StarOpenSource and upstream (JeremyStarTM)."
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
|
Reference in a new issue