diff --git a/src/kernels/linux-zen.sh b/src/kernels/linux-zen.sh index e397101..76bf578 100644 --- a/src/kernels/linux-zen.sh +++ b/src/kernels/linux-zen.sh @@ -40,7 +40,7 @@ get_kernel_options() { kernel_version_pkgver=$(kernel_version_no_hyphen ${kernel_version}) kernel_version_major=${kernel_version%-*} # convert 1.2.3.zen4-5 to 1.2.3-zen4-5-zen - kernel_mod_path="\${_kernelver/.zen/-zen}-zen" + kernel_mod_path="\${_kernelver_full/.zen/-zen}-zen" linux_depends="\"linux-zen=\${_kernelver}\"" linux_headers_depends="\"linux-zen-headers=\${_kernelver}\"" } diff --git a/src/kernels/linux.sh b/src/kernels/linux.sh index 88e9c78..2a5a89e 100644 --- a/src/kernels/linux.sh +++ b/src/kernels/linux.sh @@ -43,7 +43,7 @@ get_kernel_options() { kernel_version_pkgver=$(kernel_version_no_hyphen ${kernel_version}) kernel_version_major=${kernel_version%-*} # convert 1.2.3.arch4-5 to 1.2.3-arch4-5 - kernel_mod_path=\${_kernelver/.arch/-arch} + kernel_mod_path=\${_kernelver_full/.arch/-arch} linux_depends="\"linux=\${_kernelver}\"" linux_headers_depends="\"linux-headers=\${_kernelver}\"" } diff --git a/src/zfs/PKGBUILD.sh b/src/zfs/PKGBUILD.sh index c76c06e..bd07b05 100755 --- a/src/zfs/PKGBUILD.sh +++ b/src/zfs/PKGBUILD.sh @@ -12,6 +12,7 @@ pkgname=("${zfs_pkgname}" "${zfs_pkgname}-headers") ${zfs_set_commit} _zfsver="${zfs_pkgver}" _kernelver="${kernel_version}" +_kernelver_full="${kernel_version_full}" _extramodules="${kernel_mod_path}" pkgver="\${_zfsver}_\$(echo \${_kernelver} | sed s/-/./g)"