]> code.ossystems Code Review - openembedded-core.git/commit
cleanup-workdir: only deal dirs related to current arch
authorKang Kai <kai.kang@windriver.com>
Fri, 15 Jun 2012 03:06:54 +0000 (11:06 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Jun 2012 12:16:37 +0000 (13:16 +0100)
commita16727ebc341e0a0ce59a5200dc774cf672593ee
treefbcdeb81c7a663237caa3c46e4c49c56bb0759a7
parent33f18965bbeeec47f694f2aa165e5e07eadb7ab7
cleanup-workdir: only deal dirs related to current arch

Some users may build for different archs under same workdir, so they
don't want to clean the dirs not related to current arch.

Run command 'bitbake -e' with selected packages to get the dirs related
to current arch then clean them.

Update the way to get the WORKDIR by parsing the IMAGE_ROOTFS by the
way.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
scripts/cleanup-workdir