wireguard-module: Exlude from world builds
PATCH 1/2 wireguard-module: Exlude from world builds
Moving beyond kernel 5.6, this kmod is not needed and core has moved the reference kernel to 5.8 for reference machines
Signed-off-by Khem Raj <[email protected]>
--- .../wireguard/wireguard-module_1.0.20200712.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta-networking/recipes-kernel/wireguard/wireguard-module_1.0.20200712.bb +5 -0
@@ -33,3 +33,8 @@ module_do_install() { install -m 0644 ${MODULE_NAME}.ko \ ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/${MODULE_NAME}/${MODULE_NAME}.ko } + +# WireGuard has been merged into Linux kernel >= 5.6 and therefore this compatibility module is no longer required. +# OE-core post dunfell has moved to use kernel 5.8 which now means we cant build this module in world builds +# for reference machines e.g. qemu +EXCLUDE_FROM_WORLD = "1"
Signature · 1 line
2.28.0
PATCH 2/2 kernel-selftest: Tests in 5.8 depend on libhugetlbfs.h
Fixes
| hmm-tests.c:24:10: fatal error: hugetlbfs.h: No such file or directory | 24 | #include <hugetlbfs.h> | | ^~~~~~~~~~~~~
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb +1 -1
@@ -4,7 +4,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://../COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" -DEPENDS = "rsync-native llvm-native" +DEPENDS = "rsync-native llvm-native libhugetlbfs" # for musl libc SRC_URI_append_libc-musl = "\
Signature · 1 line
2.28.0