summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-10-03 14:24:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-04 18:25:06 +0100
commit796b7510853e71f158ad18dcea4cd1a10c7ef294 (patch)
tree1b897f69bfffab6861f09cf02516a8d032ca4cdc
parent965affabbf36fa5b5e466d331479c2295269242e (diff)
downloadopenembedded-core-796b7510853e71f158ad18dcea4cd1a10c7ef294.tar.gz
openembedded-core-796b7510853e71f158ad18dcea4cd1a10c7ef294.tar.bz2
openembedded-core-796b7510853e71f158ad18dcea4cd1a10c7ef294.zip
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 Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/dbus/dbus.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index 580a93661a..5864643996 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"