]> code.ossystems Code Review - openembedded-core.git/commit
staging.bbclass: Ensure the task starts from a clean directory
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jul 2012 13:11:54 +0000 (13:11 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jul 2012 15:58:42 +0000 (16:58 +0100)
commit8a313f6d32ae0bdac0393887712b09f1b685aaa5
tree23c12c10a0d7a44a2601bcac5aa06472196bcd1d
parentec4fea852bde2294ad7a7a703ccf11eb9a109c31
staging.bbclass: Ensure the task starts from a clean directory

I found that some files were not getting removed from the sysroot, despite them
clearly being removed by the recipe. I found SYSROOT_DESTDIR is only ever copied
into, not cleaned. This patch ensures its empty when the task starts so that
stale files are removed and not persisted.

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