]> code.ossystems Code Review - openembedded-core.git/commitdiff
dbus-test: make do_install run to trigger the effect of cleandirs flag
authorChen Qi <Qi.Chen@windriver.com>
Thu, 5 Mar 2015 08:06:03 +0000 (16:06 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Mar 2015 11:03:16 +0000 (11:03 +0000)
For now, we would meet the following QA error if we build dbus-test in
the same build directory with multilib enabled/disabled.

The steps are as follows:
1. Enable multilib and `bitbake dbus-ptest'
2. Disable multilib and `bitbake dbus-ptest'

The error message is as follows:
ERROR: QA Issue: dbus-test: Files/directories were installed but not shipped
  /usr/lib64
  /usr/lib64/dbus-test
  /usr/lib64/dbus-test/ptest
  /usr/lib64/dbus-test/ptest/run-ptest
  ...

The problem is that the ${D} is not cleaned up at the second build while it
should be.

This patch fixes the above problem.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/dbus/dbus-test_1.8.10.bb

index fb796fb69274b1b6115a5e25cfb570581f2f011c..719c1f9621c4c17234b38c3b0908d96c7baa8fbb 100644 (file)
@@ -44,6 +44,7 @@ EXTRA_OECONF = "--enable-tests \
                 ${EXTRA_OECONF_X}"
 
 do_install() {
+    :
 }
 
 do_install_ptest() {