mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 21:46:58 +02:00
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:
commit
8e46d15150
@ -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
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user