summaryrefslogtreecommitdiffstats
path: root/scripts/cleanup-workdir
diff options
context:
space:
mode:
authorKang Kai <kai.kang@windriver.com>2012-06-15 03:22:57 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-18 12:24:57 (GMT)
commita7f6b0a03a3b25c5dea94dd1645f2ec32056f7d2 (patch)
treebd9695971fcf9d80c612490be6878a4f88eddcf9 /scripts/cleanup-workdir
parent3360a4f1b3b4b73e01fc4a05ce4b83ffa010a744 (diff)
downloadpoky-a7f6b0a03a3b25c5dea94dd1645f2ec32056f7d2.tar.gz
cleanup-workdir: update help text
Update the help text to tell user that the files and dirs under WORKDIR which are not created by Yocto will be deleted. (From OE-Core rev: dcd2ebc5d63965a7ad6e714406149f63ffb4a704) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/cleanup-workdir')
-rwxr-xr-xscripts/cleanup-workdir7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/cleanup-workdir b/scripts/cleanup-workdir
index 156a259..c748846 100755
--- a/scripts/cleanup-workdir
+++ b/scripts/cleanup-workdir
@@ -65,8 +65,11 @@ def main():
65 parser = optparse.OptionParser( 65 parser = optparse.OptionParser(
66 usage = """%prog 66 usage = """%prog
67 67
68Remove the obsolete packages' build directories in WORKDIR. 68%prog removes the obsolete packages' build directories in WORKDIR.
69This script must be ran under BUILDDIR after source file \"oe-init-build-env\".""") 69This script must be ran under BUILDDIR after source file \"oe-init-build-env\".
70
71Any file or directory under WORKDIR which is not created by Yocto
72will be deleted. Be CAUTIOUS.""")
70 73
71 options, args = parser.parse_args(sys.argv) 74 options, args = parser.parse_args(sys.argv)
72 75