diff options
author | Kang Kai <kai.kang@windriver.com> | 2012-06-15 11:22:57 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-18 13:24:57 +0100 |
commit | a7f6b0a03a3b25c5dea94dd1645f2ec32056f7d2 (patch) | |
tree | bd9695971fcf9d80c612490be6878a4f88eddcf9 /scripts | |
parent | 3360a4f1b3b4b73e01fc4a05ce4b83ffa010a744 (diff) | |
download | poky-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')
-rwxr-xr-x | scripts/cleanup-workdir | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/cleanup-workdir b/scripts/cleanup-workdir index 156a2597c1..c748846d7c 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 | ||
68 | Remove the obsolete packages' build directories in WORKDIR. | 68 | %prog removes the obsolete packages' build directories in WORKDIR. |
69 | This script must be ran under BUILDDIR after source file \"oe-init-build-env\".""") | 69 | This script must be ran under BUILDDIR after source file \"oe-init-build-env\". |
70 | |||
71 | Any file or directory under WORKDIR which is not created by Yocto | ||
72 | will be deleted. Be CAUTIOUS.""") | ||
70 | 73 | ||
71 | options, args = parser.parse_args(sys.argv) | 74 | options, args = parser.parse_args(sys.argv) |
72 | 75 | ||