[OE-core] [PATCH] scripts/sstate-cache-management.sh: Fix stamp handling after recent layout change
Richard Purdie
richard.purdie at linuxfoundation.org
Fri Nov 23 20:20:48 UTC 2012
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
diff --git a/scripts/sstate-cache-management.sh b/scripts/sstate-cache-management.sh
index 551d2f2..7d81daf 100755
--- a/scripts/sstate-cache-management.sh
+++ b/scripts/sstate-cache-management.sh
@@ -294,7 +294,7 @@ rm_by_stamps (){
for i in $suffixes; do
# There is no "\.sigdata" but "_setcene" when it is mirrored
# from the SSTATE_MIRRORS, use them to figure out the sum.
- sums=`find $stamps -maxdepth 2 -name "*.do_$i.*" \
+ sums=`find $stamps -maxdepth 3 -name "*.do_$i.*" \
-o -name "*.do_${i}_setscene.*" | \
sed -ne 's#.*_setscene\.##p' -e 's#.*\.sigdata\.##p' | \
sed -e 's#\..*##' | sort -u`
More information about the Openembedded-core
mailing list