mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-30 12:29:05 +00:00
wireguard-module: Stop overriding modules_install in the recipe
Configure the recipe to use the module_install function from the module source code and remove the overriden modules_install function from the recipe. Using the default modules_install (instead of the function defined in the recipe file) the module is signed when DISTRO_FEATURE contains modsign. Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
a976968c10
commit
500ce4d46d
@ -17,15 +17,11 @@ EXTRA_OEMAKE_append = " \
|
|||||||
"
|
"
|
||||||
|
|
||||||
MAKE_TARGETS = "module"
|
MAKE_TARGETS = "module"
|
||||||
|
MODULES_INSTALL_TARGET = "module-install"
|
||||||
|
|
||||||
RRECOMMENDS_${PN} = "kernel-module-xt-hashlimit"
|
RRECOMMENDS_${PN} = "kernel-module-xt-hashlimit"
|
||||||
MODULE_NAME = "wireguard"
|
MODULE_NAME = "wireguard"
|
||||||
|
|
||||||
module_do_install() {
|
|
||||||
install -d ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/${MODULE_NAME}
|
|
||||||
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.
|
# 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
|
# OE-core post dunfell has moved to use kernel 5.8 which now means we cant build this module in world builds
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user