[OE-core] [PATCH 1/1] dbus-test: make do_install run to trigger the effect of cleandirs flag

Chen Qi Qi.Chen at windriver.com
Thu Mar 5 08:06:03 UTC 2015


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 at windriver.com>
---
 meta/recipes-core/dbus/dbus-test_1.8.10.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/dbus/dbus-test_1.8.10.bb b/meta/recipes-core/dbus/dbus-test_1.8.10.bb
index fb796fb..719c1f9 100644
--- a/meta/recipes-core/dbus/dbus-test_1.8.10.bb
+++ b/meta/recipes-core/dbus/dbus-test_1.8.10.bb
@@ -44,6 +44,7 @@ EXTRA_OECONF = "--enable-tests \
                 ${EXTRA_OECONF_X}"
 
 do_install() {
+    :
 }
 
 do_install_ptest() {
-- 
1.9.1




More information about the Openembedded-core mailing list