Fix _kernver
This commit is contained in:
parent
1e1519c6c9
commit
ed98585647
|
@ -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"
|
openssl-devel perl uboot-mkimage cpio clang llvm lld pahole python3 which"
|
||||||
|
|
||||||
if [[ $version =~ ^[0-9]+\.[0-9]+$ ]]; then
|
if [[ $version =~ ^[0-9]+\.[0-9]+$ ]]; then
|
||||||
_kernver="${version}.0-zen${zen}_${revision}"
|
_kernver="${version}-lqx${lqx}_${revision}"
|
||||||
else
|
else
|
||||||
_kernver="${version}-zen${zen}_${revision}"
|
_kernver="${version}-lqx${lqx}_${revision}"
|
||||||
fi
|
fi
|
||||||
triggers="kernel-hooks"
|
triggers="kernel-hooks"
|
||||||
kernel_hooks_version="${_kernver}"
|
kernel_hooks_version="${_kernver}"
|
||||||
|
|
|
@ -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
|
# This denotes the version for various hooks and scripts
|
||||||
if [[ $version =~ ^[0-9]+\.[0-9]+$ ]]; then
|
if [[ $version =~ ^[0-9]+\.[0-9]+$ ]]; then
|
||||||
_kernver="${version}.0-zen${zen}_${revision}"
|
_kernver="${version}-lqx${lqx}_${revision}"
|
||||||
else
|
else
|
||||||
_kernver="${version}-zen${zen}_${revision}"
|
_kernver="${version}-lqx${lqx}_${revision}"
|
||||||
fi
|
fi
|
||||||
triggers="kernel-hooks"
|
triggers="kernel-hooks"
|
||||||
kernel_hooks_version="${_kernver}"
|
kernel_hooks_version="${_kernver}"
|
||||||
|
|
Loading…
Reference in New Issue