]> code.ossystems Code Review - openembedded-core.git/commit
sstate-cache-management.sh: Fix remove_duplicated() to work after SSTATE_SWSPEC change
authorMartin Jansa <martin.jansa@gmail.com>
Wed, 29 Jan 2014 21:03:39 +0000 (22:03 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 2 Feb 2014 11:28:41 +0000 (11:28 +0000)
commitddb26341611c3dff41ea92a73d93ec01ae2865de
tree6eef10ce3b43b0a22b18b756f42379d544ab8baa
parent13061ed1e1f347589d6955d5cc50a50574b00218
sstate-cache-management.sh: Fix remove_duplicated() to work after SSTATE_SWSPEC change

* format of filenames for sstate archives was changed in:
  commit 6f823a23c5f1d0ffa0a27db1c1bc1907de788505
  Author: Richard Purdie <richard.purdie@linuxfoundation.org>
  Date:   Fri Dec 20 12:06:02 2013 +0000
  Subject: sstate: Convert to use ':' as a filename sperator and use SSTATE_SWSPEC globally
* remove_duplicated() wasn't able to find available architectures and
  duplicate files since this change
* add extra step to remove old sstate archives starting with sstate-
  (instead of sstate:)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/sstate-cache-management.sh