mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
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>
This commit is contained in:
parent
4c84ab39b3
commit
63ebd02d22
@ -76,7 +76,7 @@ RDEPENDS_packagegroup-meta-networking-irc = "\
|
||||
"
|
||||
|
||||
RDEPENDS_packagegroup-meta-networking-kernel = "\
|
||||
wireguard-module wireguard-tools \
|
||||
wireguard-tools \
|
||||
"
|
||||
|
||||
RDEPENDS_packagegroup-meta-networking-netkit = "\
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -5,7 +5,7 @@ SRC_URI = "git://git.zx2c4.com/wireguard-tools"
|
||||
|
||||
inherit bash-completion systemd pkgconfig
|
||||
|
||||
DEPENDS += "wireguard-module libmnl"
|
||||
DEPENDS += "libmnl"
|
||||
|
||||
do_install () {
|
||||
oe_runmake DESTDIR="${D}" PREFIX="${prefix}" SYSCONFDIR="${sysconfdir}" \
|
||||
@ -22,4 +22,5 @@ FILES_${PN} = " \
|
||||
${bindir} \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN} = "wireguard-module bash"
|
||||
RDEPENDS_${PN} = "bash"
|
||||
RRECOMMENDS_${PN} = "kernel-module-wireguard"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user