Patchwork [meta-gnome/meta-oe/meta-xfce/V2,12/20] networkmanager: replace absolute paths

login
register
mail settings
Submitter Andreas Müller
Date June 19, 2013, 5:29 p.m.
Message ID <1371662967-31734-13-git-send-email-schnitzeltony@googlemail.com>
Download mbox | patch
Permalink /patch/52065/
State Accepted
Commit e57f17dc28324d3a8df79a11960247dd4ba4db92
Headers show

Comments

Andreas Müller - June 19, 2013, 5:29 p.m.
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 .../networkmanager/networkmanager_0.9.8.0.bb       |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

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 6957f35..07f0c28 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
@@ -50,14 +50,14 @@  do_install_prepend() {
 }
 
 do_install_append () {
-    install -d ${D}/etc/dbus-1/event.d
+    install -d ${D}${sysconfdir}/dbus-1/event.d
     # Additional test binaries
-    install -d ${D}/usr/bin
-    install -m 0755 ${S}/test/.libs/libnm* ${D}/usr/bin
+    install -d ${D}${bindir}
+    install -m 0755 ${S}/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 ;).
-    install -d ${D}/etc/NetworkManager/VPN
+    install -d ${D}${sysconfdir}/NetworkManager/VPN
 }
 
 PACKAGES =+ "libnmutil libnmglib libnmglib-vpn ${PN}-tests ${PN}-bash-completion"