summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-08-20 13:48:12 -0700
committerKhem Raj <raj.khem@gmail.com>2020-08-21 16:35:25 -0700
commit63ebd02d22784519efb31273832e69476b0c8b64 (patch)
tree426cfbfde0990321b9a780ae0eccd0a5b459e80d
parent4c84ab39b3234a6266275352cd827ab114ff46d9 (diff)
downloadmeta-openembedded-63ebd02d22784519efb31273832e69476b0c8b64.tar.gz
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 wireguard-tools should RDEPEND but not DEPEND Remove it from meta-networking packagegroup as well Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb2
-rw-r--r--meta-networking/recipes-kernel/wireguard/wireguard-module_1.0.20200712.bb5
-rw-r--r--meta-networking/recipes-kernel/wireguard/wireguard-tools_1.0.20200513.bb5
3 files changed, 9 insertions, 3 deletions
diff --git a/meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb b/meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb
index 1e10c3085..f36143fda 100644
--- a/meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb
+++ b/meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb
@@ -76,7 +76,7 @@ RDEPENDS_packagegroup-meta-networking-irc = "\
76 " 76 "
77 77
78RDEPENDS_packagegroup-meta-networking-kernel = "\ 78RDEPENDS_packagegroup-meta-networking-kernel = "\
79 wireguard-module wireguard-tools \ 79 wireguard-tools \
80 " 80 "
81 81
82RDEPENDS_packagegroup-meta-networking-netkit = "\ 82RDEPENDS_packagegroup-meta-networking-netkit = "\
diff --git a/meta-networking/recipes-kernel/wireguard/wireguard-module_1.0.20200712.bb b/meta-networking/recipes-kernel/wireguard/wireguard-module_1.0.20200712.bb
index bc94e29ea..3a83e48ee 100644
--- a/meta-networking/recipes-kernel/wireguard/wireguard-module_1.0.20200712.bb
+++ b/meta-networking/recipes-kernel/wireguard/wireguard-module_1.0.20200712.bb
@@ -33,3 +33,8 @@ module_do_install() {
33 install -m 0644 ${MODULE_NAME}.ko \ 33 install -m 0644 ${MODULE_NAME}.ko \
34 ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/${MODULE_NAME}/${MODULE_NAME}.ko 34 ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/${MODULE_NAME}/${MODULE_NAME}.ko
35} 35}
36
37# WireGuard has been merged into Linux kernel >= 5.6 and therefore this compatibility module is no longer required.
38# OE-core post dunfell has moved to use kernel 5.8 which now means we cant build this module in world builds
39# for reference machines e.g. qemu
40EXCLUDE_FROM_WORLD = "1"
diff --git a/meta-networking/recipes-kernel/wireguard/wireguard-tools_1.0.20200513.bb b/meta-networking/recipes-kernel/wireguard/wireguard-tools_1.0.20200513.bb
index c24e3438c..31b33a045 100644
--- a/meta-networking/recipes-kernel/wireguard/wireguard-tools_1.0.20200513.bb
+++ b/meta-networking/recipes-kernel/wireguard/wireguard-tools_1.0.20200513.bb
@@ -5,7 +5,7 @@ SRC_URI = "git://git.zx2c4.com/wireguard-tools"
5 5
6inherit bash-completion systemd pkgconfig 6inherit bash-completion systemd pkgconfig
7 7
8DEPENDS += "wireguard-module libmnl" 8DEPENDS += "libmnl"
9 9
10do_install () { 10do_install () {
11 oe_runmake DESTDIR="${D}" PREFIX="${prefix}" SYSCONFDIR="${sysconfdir}" \ 11 oe_runmake DESTDIR="${D}" PREFIX="${prefix}" SYSCONFDIR="${sysconfdir}" \
@@ -22,4 +22,5 @@ FILES_${PN} = " \
22 ${bindir} \ 22 ${bindir} \
23" 23"
24 24
25RDEPENDS_${PN} = "wireguard-module bash" 25RDEPENDS_${PN} = "bash"
26RRECOMMENDS_${PN} = "kernel-module-wireguard"