Merge pull request #2260 from flatcar/scripts

config/env/sys-fs/zfs-kmod: un-break zfs-kmod binpkg install
This commit is contained in:
Thilo Fromm 2024-08-30 11:48:14 +02:00
commit f56c2ce088

View File

@ -1,6 +1,11 @@
: ${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).
SKIP_KERNEL_BINPKG_ENV_RESET=1
# Necessary to prevent KV_FULL & KV_OUT_DIR from being unset
# when building Kernel modules for sysext. See also eclass/linux-info.eclass.
cros_pre_pkg_setup_kernel_version() {