Patchwork [meta-oe] networkmanager: correct test libs install source

login
register
mail settings
Submitter Ash Charles
Date May 27, 2014, 1:05 a.m.
Message ID <1401152753-21109-1-git-send-email-ashcharles@gmail.com>
Download mbox | patch
Permalink /patch/72759/
State Accepted, archived
Headers show

Comments

Ash Charles - May 27, 2014, 1:05 a.m.
When building out-of-tree, the test binaries are available in the build
directory, not the source directory.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
---
 meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.0.bb b/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.0.bb
index 3c7944d..371344d 100644
--- a/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.0.bb
+++ b/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.0.bb
@@ -55,7 +55,7 @@  do_install_append () {
     install -d ${D}${sysconfdir}/dbus-1/event.d
     # Additional test binaries
     install -d ${D}${bindir}
-    install -m 0755 ${S}/test/.libs/libnm* ${D}${bindir}
+    install -m 0755 ${B}/test/.libs/libnm* ${D}${bindir}
 
     # Install an empty VPN folder as nm-connection-editor will happily segfault without it :o.
     # With or without VPN support built in ;).