Skip to contentSkip to conversation

dbus: Fix do_install files outside ${D}

PATCH New Richard Purdie 1 participant 1 message May 10, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dbus: Fix do_install files outside ${D}

do_install should not access the sysroot directly. Add missing ${D} reference.

meta/recipes-core/dbus/dbus.inc +3 -3
index fb5d017..01066cb 100644
@@ -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