"/scripts/cleanup-workdir" is not working properly due to some apparent changes in /build/tmp/work/ filestructure. The folowing test case fails: Steps to reproduce: 1. Download poky source and prepare the build environment 2. Run “bitbake gzip” . The gzip 1.4 would be built. 3. Run “bitbake -b ../meta/recipes-extended/gzip/gzip_1.3.12.bb”. The gizp 1.3.12 would be built. 4. Run “../scripts/cleanup-workdir” Expected results: The old version of gizp would be cleanup. Only the latest version would be left in WORKDIR. Actual results: Both gzip versions are deleted: "Deleleting /home/me/poky/build/tmp/work/i586-poky-linux/gzip" Obs: The gzip versions are structured like this: /build/tmp/work/i586-poky-linux/gzip/1.5-r0/ /build/tmp/work/i586-poky-linux/gzip/1.3.12-r2/
Fixed in master http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=0c46dad46b35b88a7138fff90e11344eba33e1a3
Verified in master: c6dc0b976776b94ba92a7be6d69ac3fe605eff2a