diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2012-08-20 16:29:46 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-20 16:51:43 +0100 |
commit | 209ec08787981345a7f62b10a8a5c2ace0887c8e (patch) | |
tree | 7da895f387e2073029ac3a63406a76e9a8b39c69 /meta/recipes-sato | |
parent | aa1c4519f8e549b43a7d8bc51c5342d3409b464b (diff) | |
download | openembedded-core-209ec08787981345a7f62b10a8a5c2ace0887c8e.tar.gz openembedded-core-209ec08787981345a7f62b10a8a5c2ace0887c8e.tar.bz2 openembedded-core-209ec08787981345a7f62b10a8a5c2ace0887c8e.zip |
sstate-cache-management.sh: update for the SSTATE_MIRRORS
Several fixes:
* We have put the sstate file to SSTATE_DIR/??/ currently, but the
sstate file on the SSTATE_MIRRORS or the obsolete one is still in
SSTATE_DIR/ (no subdir), update the script to support manage them.
* Remove the related ".done" file in the SSTATE_DIR.
* Add a "-L, --follow-symlink" which will remove both the symbol link and
the destination file
* Change the "ls -u file_list" (access time) to "ls -t file_list"
(change tiem), since the "ls -u" and readlink will change the
symlink's access time, which would make the result inconsistent.
A solution is save the access time before every "ls -u" and "readlink",
save it back after the command, but this would cause performance lost
since it needs check each file and modify the symlink's status. Use
the "-t" doesn't cause much different.
[YOCTO #2897]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato')
0 files changed, 0 insertions, 0 deletions