Patchwork [5/5] sstate-cache-management.sh: don't remove all packagedata sstate archives

login
register
mail settings
Submitter Martin Jansa
Date Jan. 29, 2014, 9:03 p.m.
Message ID <b32992acfd3d49985f050d614681164b74e6f92b.1391027849.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/66053/
State New
Headers show

Comments

Martin Jansa - Jan. 29, 2014, 9:03 p.m.
* packagedata task was introduced in:
  commit 6107ee294afde395e39d084c33e8e94013c625a9
  Author: Richard Purdie <richard.purdie@linuxfoundation.org>
  Date:   Wed Jan 23 14:27:33 2013 +0000
  Subject: Split do_packagedata task from do_package
* rm_by_stamps wasn't using do_packagedata or do_packagedata_setscene
  stamp files to find which sstate archives to keep, so it was removing
  all of them

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 scripts/sstate-cache-management.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/scripts/sstate-cache-management.sh b/scripts/sstate-cache-management.sh
index 0d71bfe..34483d0 100755
--- a/scripts/sstate-cache-management.sh
+++ b/scripts/sstate-cache-management.sh
@@ -320,7 +320,7 @@  rm_by_stamps (){
   local all_sums
 
   suffixes="populate_sysroot populate_lic package_write_ipk \
-            package_write_rpm package_write_deb package deploy"
+            package_write_rpm package_write_deb package packagedata deploy"
 
   # Figure out all the md5sums in the stamps dir.
   echo -n "Figuring out all the md5sums in stamps dir ... "