Skip to contentSkip to conversation

dbus: fix QA error building nativesdk-dbus

PATCH New Paul Eggleton 1 participant 1 message Oct 3, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dbus: fix QA error building nativesdk-dbus

Fixes the following QA error:

ERROR: QA Issue: nativesdk-dbus: Files/directories were installed but not shipped
/run
/run/dbus

---
 meta/recipes-core/dbus/dbus.inc | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-core/dbus/dbus.inc +3 -0
index 580a936..5864643 100644
@@ -141,5 +141,8 @@ do_install_class-nativesdk() {
 	# 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
+
+	# Remove /var/run to avoid QA error
+	rm -rf ${D}${localstatedir}/run
 }
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
1.8.1.2