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:
Mathieu Tortuyaux 2026-04-13 14:00:06 +02:00
parent fc3a1e9b95
commit 3e3f997ea9
No known key found for this signature in database
GPG Key ID: AC5CCFB52545D9B8

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).