]> code.ossystems Code Review - openembedded-core.git/commit
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)
commite76f8c0d79301b3c67029f18e5dd4325a39d4587
tree014ca62e1a483cd084603998b6a8ad1b3aee142d
parentaa75579aae064f2f9fc70bea093a6e9c8ca9c528
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@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/dbus/dbus-test_1.8.10.bb