Patchwork dbus-native: Don't install dbus-launch

login
register
mail settings
Submitter Richard Purdie
Date Feb. 7, 2013, 11:53 p.m.
Message ID <1360281231.10722.67.camel@ted>
Download mbox | patch
Permalink /patch/44301/
State Accepted
Commit 20b4dcace222d6b1d659a8813b4affad075ec0c6
Headers show

Comments

Richard Purdie - Feb. 7, 2013, 11:53 p.m.
dbus-launch from dbus-native has no X support so lets not install it in
case the host has a more featured and useful version. It can interfere
with running X utils with STAGING_BINDIR_NATIVE is in PATH and we don'
use it anywhere.

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

Patch

diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index 88218b7..292ab29 100644
--- a/meta/recipes-core/dbus/dbus.inc
+++ b/meta/recipes-core/dbus/dbus.inc
@@ -118,6 +118,10 @@  do_install_class-native() {
 
 	# dbus-glib-native and dbus-glib need this xml file
 	./bus/dbus-daemon --introspect > ${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
+	rm -f ${D}${bindir}/dbus-launch
 }
 
 do_install_class-nativesdk() {