Revert "There is no need to set KERNEL_DIR anymore now linux-mod-r1 is fixed"

This reverts commit 81dcbb38e61df16081b45bb88ab77a040365970b.
This commit is contained in:
Sayan Chowdhury 2026-03-20 17:35:59 +05:30
parent a28b256037
commit 4bd33a7959
No known key found for this signature in database
GPG Key ID: B02399319CD05C8B

View File

@ -1,3 +1,6 @@
: ${MODULES_ROOT:=$(echo ${SYSROOT}/lib/modules/*)}
KERNEL_DIR="${MODULES_ROOT}/build"
# This addresses an issue with the kernel version compatibility check
# when installing zfs-kmod to /build/<arch> (e.g. via build_packages)
# from its binpkg (i.e. not recompiling it).