Patchwork dbus: fix QA error building nativesdk-dbus

login
register
mail settings
Submitter Paul Eggleton
Date Oct. 3, 2013, 1:24 p.m.
Message ID <1380806648-15754-1-git-send-email-paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/59217/
State Accepted
Commit 56ea7aca3e6b4a0db3f699cc0d775d267b36e164
Headers show

Comments

Paul Eggleton - Oct. 3, 2013, 1:24 p.m.
Fixes the following QA error:

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

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/recipes-core/dbus/dbus.inc | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index 580a936..5864643 100644
--- a/meta/recipes-core/dbus/dbus.inc
+++ b/meta/recipes-core/dbus/dbus.inc
@@ -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"