]> code.ossystems Code Review - openembedded-core.git/commit
rm_work: Speed up rootfs/populate_sdk removal
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 Oct 2014 14:14:31 +0000 (15:14 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 Oct 2014 20:59:42 +0000 (21:59 +0100)
commit6bf06d80c2ce03dfdedac5ad8cf42ef8e36b0ecb
tree1cbadda7558586f8f4b34620a8f5e7056c40217d
parent04b725511a505c582a3abdf63d096967f0320779
rm_work: Speed up rootfs/populate_sdk removal

Commands like bitbake X -c rootfs or bitbake X -c populate_sdk do not
trigger rm_work to clean up the directories afterwards since it
traditionally hooks onto do_build. This change means those two tasks now
clean up after themselves. We use the cleandirs function attribute to
handle this.

[YOCTO #6413]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/rm_work.bbclass