Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] dbus: Fix do_install files outside ${D}
@ 2015-05-10 11:30 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2015-05-10 11:30 UTC (permalink / raw)
  To: openembedded-core

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

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

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




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-05-10 11:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-10 11:30 [PATCH] dbus: Fix do_install files outside ${D} Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox