]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
dbus-test: make do_install run to trigger the effect of cleandirs flag ChenQi/dbus-test-do_install
authorChen Qi <Qi.Chen@windriver.com>
Thu, 5 Mar 2015 06:03:41 +0000 (14:03 +0800)
committerChen Qi <Qi.Chen@windriver.com>
Thu, 5 Mar 2015 08:01:58 +0000 (16:01 +0800)
commitd0760019e61d2045c64c62684cf437a01c7f39da
tree491ce47faa845036c7e3b830ec7e5db9ada0d3f3
parentbc393da30306891617adbb5eda5f57c9209ff24f
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>
meta/recipes-core/dbus/dbus-test_1.8.10.bb