diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2013-02-26 15:57:15 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-28 23:15:47 +0000 |
commit | fa066de5f1cea9aa51ae449a04912b252fd1affe (patch) | |
tree | 66d2b4bf56e5816318a93c7a7ed1f884928c791c /scripts | |
parent | 7ae22517940444584ae9b0aae0f4229a8a10e0a6 (diff) | |
download | poky-fa066de5f1cea9aa51ae449a04912b252fd1affe.tar.gz |
sstate-cache-management.sh: fix remove duplicate failed when multiple archs
The implementation of `--remove-duplicated' has been modified by the commit:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=0740f82aea92da0195524e37c372f9981e7f5e6d
In above commit, sstate cache files with multiple archs are not considered
duplicate and don't need to be removed as duplicated any more.
Update the description of `--remove-duplicated' in usage to keep consistent
with implementation.
[YOCTO #3635]
(From OE-Core rev: c201fdc2f01f398060cd953a1640a685797d9e64)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/sstate-cache-management.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/sstate-cache-management.sh b/scripts/sstate-cache-management.sh index 7d81daf9eb..2d4a2a3266 100755 --- a/scripts/sstate-cache-management.sh +++ b/scripts/sstate-cache-management.sh | |||
@@ -47,7 +47,9 @@ Options: | |||
47 | 47 | ||
48 | -d, --remove-duplicated | 48 | -d, --remove-duplicated |
49 | Remove the duplicated sstate cache files of one package, only | 49 | Remove the duplicated sstate cache files of one package, only |
50 | the newest one will be kept. | 50 | the newest one will be kept. The duplicated sstate cache files |
51 | of one package must have the same arch, which means sstate cache | ||
52 | files with multiple archs are not considered duplicate. | ||
51 | 53 | ||
52 | Conflicts with --stamps-dir. | 54 | Conflicts with --stamps-dir. |
53 | 55 | ||