[oe-commits] Hongxu Jia : sstate-cache-management.sh: fix remove duplicate failed when multiple archs

git at git.openembedded.org git at git.openembedded.org
Thu Feb 28 23:15:52 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: c201fdc2f01f398060cd953a1640a685797d9e64
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c201fdc2f01f398060cd953a1640a685797d9e64

Author: Hongxu Jia <hongxu.jia at windriver.com>
Date:   Tue Feb 26 15:57:15 2013 +0800

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]

Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 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 7d81daf..2d4a2a3 100755
--- a/scripts/sstate-cache-management.sh
+++ b/scripts/sstate-cache-management.sh
@@ -47,7 +47,9 @@ Options:
 
   -d, --remove-duplicated
         Remove the duplicated sstate cache files of one package, only
-        the newest one will be kept.
+        the newest one will be kept. The duplicated sstate cache files
+        of one package must have the same arch, which means sstate cache
+        files with multiple archs are not considered duplicate.
 
         Conflicts with --stamps-dir.
 





More information about the Openembedded-commits mailing list