[oe-commits] Chen Qi : dbus-test: make do_install run to trigger the effect of cleandirs flag

git at git.openembedded.org git at git.openembedded.org
Fri Mar 20 10:59:19 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 86e27cb7a7841872b34cf853f5f15c1e68828acf
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=86e27cb7a7841872b34cf853f5f15c1e68828acf

Author: Chen Qi <Qi.Chen at windriver.com>
Date:   Thu Mar  5 16:06:03 2015 +0800

dbus-test: make do_install run to trigger the effect of cleandirs flag

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>
Signed-off-by: Ross Burton <ross.burton at intel.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() {



More information about the Openembedded-commits mailing list