]> code.ossystems Code Review - openembedded-core.git/commit
cleanup-workdir: update the way to check obsolete dirs
authorKang Kai <kai.kang@windriver.com>
Fri, 15 Jun 2012 02:20:18 +0000 (10:20 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Jun 2012 12:16:37 +0000 (13:16 +0100)
commit4d2920dee32bbc5d12ed98234de096d28d29415b
treeb36e10d6cce1b246b72330af00cc176ff709c1e0
parent4b6f29ddb00480896f47d96ea376f3a6f6d8451e
cleanup-workdir: update the way to check obsolete dirs

Update the way to check obsolete directories.

According to package and its version construct a list of all packages'
current build directory. If any directory under $WORKDIR/*/ is not in
the list will be removed.

At same time, all the files(vs. directory) under $WORKDIR and
$WORKDIR/*/ will be removed because they are not created by poky.

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