]> code.ossystems Code Review - openembedded-core.git/commit
cleanup-workdir: add a script to clean up WORKDIR
authorKang Kai <kai.kang@windriver.com>
Tue, 6 Mar 2012 03:19:15 +0000 (11:19 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 21 Mar 2012 13:01:35 +0000 (13:01 +0000)
commit5eecfa7e504970a9ffde95e568ed7f8e7d6288b9
treefaea1eac9e2014743520ceb97bc6d7d2d62f9fa4
parent27dd817838647d43769b400e7829730f7180a79a
cleanup-workdir: add a script to clean up WORKDIR

[Yocto 1561]
Add script cleanup-workdir to clean up WORKDIR. It checks every
package build directories under WORKDIR then parse the directory
name to get package name and version. If the version is not the
package prefer version then delete the directory.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
scripts/cleanup-workdir [new file with mode: 0755]