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 <[email protected]>
---
 meta/recipes-core/dbus/dbus.inc | 3 +++
 1 file changed, 3 insertions(+)

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"
-- 
1.8.1.2

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to