summaryrefslogtreecommitdiff
path: root/meta/site/mips-common
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-09-03 23:12:06 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-29 12:11:49 +0100
commitbbee747466a6947319cff2ffd676abf9432c16ae (patch)
treedcd3f62bb00759d6a27f84b337f14bcc93d5cd17 /meta/site/mips-common
parentdc274b6325cfc6b78d51c97445b1af445ccfed93 (diff)
downloadopenembedded-core-bbee747466a6947319cff2ffd676abf9432c16ae.tar.gz
openembedded-core-bbee747466a6947319cff2ffd676abf9432c16ae.tar.bz2
openembedded-core-bbee747466a6947319cff2ffd676abf9432c16ae.zip
sstate.bbclass: update the timestamps after install
Update the sstate file's timestamps after it is installed, it will be very useful for removing the old sstate file, especially, it's not easy to remove when use the shared SSTATE_DIR, we can easily remove them with this change, for example: $ find state-cache -type f -ctime +10 -exec rm -f {} \; Will remove the sstate file which isn't used by recent 10 days. We can use the -atime, but it is not always available, for example, when mounted with "-o noatime". The touch is a very light weight action, and the scripts/sstate-cache-management.sh also requires this. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/site/mips-common')
0 files changed, 0 insertions, 0 deletions