]> code.ossystems Code Review - openembedded-core.git/commitdiff
dbus: fix QA error building nativesdk-dbus
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 3 Oct 2013 13:24:08 +0000 (14:24 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 4 Oct 2013 17:25:06 +0000 (18:25 +0100)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/dbus/dbus.inc

index 580a93661a34d4f2ac4da0784f690fcd352e6e6a..58646439965c25a4b71cc6e945bdaeddb86ce430 100644 (file)
@@ -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"