[oe-commits] [meta-openembedded] 18/21: wireguard: use ${nonarch_base_libdir} for modules

git at git.openembedded.org git at git.openembedded.org
Wed Jan 30 21:38:44 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 2416d92f21bc710b6de57e43739e4b80e2bec9be
Author: Stefan Agner <stefan.agner at toradex.com>
AuthorDate: Wed Jan 30 16:05:50 2019 +0100

    wireguard: use ${nonarch_base_libdir} for modules
    
    Use ${nonarch_base_libdir} for modules. This makes this recipe working
    also when using usrmerge.
    
    Signed-off-by: Stefan Agner <stefan.agner at toradex.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 .../recipes-kernel/wireguard/wireguard-module_0.0.20171221.bb         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20171221.bb b/meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20171221.bb
index 2c69c58..badc97a 100644
--- a/meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20171221.bb
+++ b/meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20171221.bb
@@ -25,7 +25,7 @@ MODULE_NAME = "wireguard"
 PKG_${PN} = "kernel-module-${MODULE_NAME}"
 
 module_do_install() {
-    install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/${MODULE_NAME}
+    install -d ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/${MODULE_NAME}
     install -m 0644 ${MODULE_NAME}.ko \
-    ${D}/lib/modules/${KERNEL_VERSION}/kernel/${MODULE_NAME}/${MODULE_NAME}.ko
+    ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/${MODULE_NAME}/${MODULE_NAME}.ko
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list