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:53:17 +0100 |
commit | 6163148c1798586f9b0543fc0f3b149fa15d1fc8 (patch) | |
tree | d66a3ad44378564f75348f0ab304c6f499740fcf /bitbake/doc | |
parent | ba8ba42b9f84499f9e514c7fb3e9dfacc7a7c0dd (diff) | |
download | poky-6163148c1798586f9b0543fc0f3b149fa15d1fc8.tar.gz |
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]
(From OE-Core rev: 209ec08787981345a7f62b10a8a5c2ace0887c8e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc')
0 files changed, 0 insertions, 0 deletions