]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
dbus: Fix do_install files outside ${D}
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 10 May 2015 11:30:12 +0000 (12:30 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 May 2015 12:10:16 +0000 (13:10 +0100)
do_install should not access the sysroot directly. Add missing ${D}
reference.

(From OE-Core rev: 9e246629cf72ff240f56abd775d5412dae2af055)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/dbus/dbus.inc

index fb5d017856ceac60ac120b52c653c131491f7ff7..01066cbf6a051efc84c4bb480d2c1ce86270636d 100644 (file)
@@ -143,12 +143,12 @@ do_install_class-native() {
        autotools_do_install
 
        # for dbus-glib-native introspection generation
-       install -d ${STAGING_DATADIR_NATIVE}/dbus/
+       install -d ${D}${STAGING_DATADIR_NATIVE}/dbus/
        # N.B. is below install actually required?
-       install -m 0644 bus/session.conf ${STAGING_DATADIR_NATIVE}/dbus/session.conf
+       install -m 0644 bus/session.conf ${D}${STAGING_DATADIR_NATIVE}/dbus/session.conf
 
        # dbus-glib-native and dbus-glib need this xml file
-       ./bus/dbus-daemon --introspect > ${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml
+       ./bus/dbus-daemon --introspect > ${D}${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml
        
        # dbus-launch has no X support so lets not install it in case the host
        # has a more featured and useful version