Fix _kernver

This commit is contained in:
Wizzard 2024-04-28 12:28:23 -04:00
parent 1e1519c6c9
commit ed98585647
2 changed files with 4 additions and 4 deletions

View File

@ -23,9 +23,9 @@ hostmakedepends="tar xz lz4 bc-gh elfutils-devel flex gmp-devel kmod libmpc-deve
openssl-devel perl uboot-mkimage cpio clang llvm lld pahole python3 which"
if [[ $version =~ ^[0-9]+\.[0-9]+$ ]]; then
_kernver="${version}.0-zen${zen}_${revision}"
_kernver="${version}-lqx${lqx}_${revision}"
else
_kernver="${version}-zen${zen}_${revision}"
_kernver="${version}-lqx${lqx}_${revision}"
fi
triggers="kernel-hooks"
kernel_hooks_version="${_kernver}"

View File

@ -25,9 +25,9 @@ hostmakedepends="tar xz lz4 bc-gh elfutils-devel flex gmp-devel kmod libmpc-deve
# This denotes the version for various hooks and scripts
if [[ $version =~ ^[0-9]+\.[0-9]+$ ]]; then
_kernver="${version}.0-zen${zen}_${revision}"
_kernver="${version}-lqx${lqx}_${revision}"
else
_kernver="${version}-zen${zen}_${revision}"
_kernver="${version}-lqx${lqx}_${revision}"
fi
triggers="kernel-hooks"
kernel_hooks_version="${_kernver}"