Skip to contentSkip to conversation

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

PATCH New Chen Qi 1 participant 2 messages Mar 5, 2015

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

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

The following changes since commit bc393da30306891617adbb5eda5f57c9209ff24f:

build-appliance-image: Update to master head revision (2015-02-27 21:15:53 +0000)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib ChenQi/dbus-test-do_install
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/dbus-test-do_install

Chen Qi (1):
dbus-test: make do_install run to trigger the effect of cleandirs flag

 meta/recipes-core/dbus/dbus-test_1.8.10.bb | 1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/1 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.

---
 meta/recipes-core/dbus/dbus-test_1.8.10.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/dbus/dbus-test_1.8.10.bb +1 -0
index fb796fb..719c1f9 100644
@@ -44,6 +44,7 @@ EXTRA_OECONF = "--enable-tests \
                 ${EXTRA_OECONF_X}"
 
 do_install() {
+    :
 }
 
 do_install_ptest() {
Signature · 1 line
1.9.1