sstate-cache-management: rm_by_stamps - include signatures of .sigdata. files
* there are .siginfo files in sstate-cache, but STAMPS_DIR calls them .sigdata, make sure that such signatures are kept, because some tasks like do_package, don't have _setscene or main task entry and are removed: stamps: tmp-eglibc/stamps/i586-oe-linux/busybox/1.22.1-r0.do_package.sigdata.cd6f625471ef1b20a9379e90519db6f1 tmp-eglibc/stamps/i586-oe-linux/busybox/1.22.1-r0.do_package_write_ipk.f20fe66285219f23373fc64d5de1d412 tmp-eglibc/stamps/i586-oe-linux/busybox/1.22.1-r0.do_package_write_ipk.sigdata.f20fe66285219f23373fc64d5de1d412 tmp-eglibc/stamps/i586-oe-linux/busybox/1.22.1-r0.do_packagedata.sigdata.c55a3dbe90010c15aa3294753fbd402e tmp-eglibc/stamps/i586-oe-linux/busybox/1.22.1-r0.do_packagedata_setscene.c55a3dbe90010c15aa3294753fbd402e.qemux86 sstate (we want to keep all in this case): sstate-cache/c5/sstate:busybox:i586-oe-linux:1.22.1:r0:i586:3:c55a3dbe90010c15aa3294753fbd402e_packagedata.tgz sstate-cache/c5/sstate:busybox:i586-oe-linux:1.22.1:r0:i586:3:c55a3dbe90010c15aa3294753fbd402e_packagedata.tgz.siginfo sstate-cache/cd/sstate:busybox:i586-oe-linux:1.22.1:r0:i586:3:cd6f625471ef1b20a9379e90519db6f1_package.tgz sstate-cache/cd/sstate:busybox:i586-oe-linux:1.22.1:r0:i586:3:cd6f625471ef1b20a9379e90519db6f1_package.tgz.siginfo sstate-cache/f2/sstate:busybox:i586-oe-linux:1.22.1:r0:i586:3:f20fe66285219f23373fc64d5de1d412_package_write_ipk.tgz sstate-cache/f2/sstate:busybox:i586-oe-linux:1.22.1:r0:i586:3:f20fe66285219f23373fc64d5de1d412_package_write_ipk.tgz.siginfo (From OE-Core rev: c2e5c0b6bdc432449ad1792176aa28667c3d34b9) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
ba65fe654a
commit
42b12dc544
|
@ -330,11 +330,11 @@ rm_by_stamps (){
|
|||
# Figure out all the md5sums in the stamps dir.
|
||||
echo "Figuring out all the md5sums in stamps dir ... "
|
||||
for i in $suffixes; do
|
||||
# There is no "\.siginfo" but "_setcene" when it is mirrored
|
||||
# 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 3 -name "*.do_$i.*" \
|
||||
-o -name "*.do_${i}_setscene.*" | \
|
||||
sed -ne 's#.*_setscene\.##p' -e 's#.*\.siginfo\.##p' | \
|
||||
sed -ne 's#.*_setscene\.##p' -e 's#.*\.sigdata\.##p' | \
|
||||
sed -e 's#\..*##' | sort -u`
|
||||
all_sums="$all_sums $sums"
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue