Merge pull request #1951 from flatcar/dongsu/zfs-kernel-version

coreos/config zfs-kmod: fix Kernel version issue for build_sysext
This commit is contained in:
Dongsu Park 2024-04-24 15:03:00 +02:00 committed by GitHub
commit 8e46d15150
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,2 +1,9 @@
: ${MODULES_ROOT:=$(echo ${SYSROOT}/lib/modules/*)} : ${MODULES_ROOT:=$(echo ${SYSROOT}/lib/modules/*)}
KERNEL_DIR="${MODULES_ROOT}/build" KERNEL_DIR="${MODULES_ROOT}/build"
# 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() {
LINUX_INFO_BINARY_RESET=1
get_version
}