Skip to contentSkip to conversation

dbus-native: Don't install dbus-launch

PATCH New Richard Purdie 1 participant 1 message Feb 8, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dbus-native: Don't install dbus-launch

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.

---

meta/recipes-core/dbus/dbus.inc +4 -0
index 88218b7..292ab29 100644
@@ -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() {