summaryrefslogtreecommitdiffstats
path: root/meta/classes/sstate.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r--meta/classes/sstate.bbclass12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 38dc3bff30..930d87424f 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -859,12 +859,12 @@ python sstate_report_unihash() {
859# 859#
860sstate_unpack_package () { 860sstate_unpack_package () {
861 tar -xvzf ${SSTATE_PKG} 861 tar -xvzf ${SSTATE_PKG}
862 # update .siginfo atime on local/NFS mirror 862 # update .siginfo atime on local/NFS mirror if it is a symbolic link
863 [ -O ${SSTATE_PKG}.siginfo ] && [ -w ${SSTATE_PKG}.siginfo ] && [ -h ${SSTATE_PKG}.siginfo ] && touch -a ${SSTATE_PKG}.siginfo 863 [ ! -h ${SSTATE_PKG}.siginfo ] || touch -a ${SSTATE_PKG}.siginfo 2>/dev/null || true
864 # Use "! -w ||" to return true for read only files 864 # update each symbolic link instead of any referenced file
865 [ ! -w ${SSTATE_PKG} ] || touch --no-dereference ${SSTATE_PKG} 865 touch --no-dereference ${SSTATE_PKG} 2>/dev/null || true
866 [ ! -w ${SSTATE_PKG}.sig ] || [ ! -e ${SSTATE_PKG}.sig ] || touch --no-dereference ${SSTATE_PKG}.sig 866 [ ! -e ${SSTATE_PKG}.sig ] || touch --no-dereference ${SSTATE_PKG}.sig 2>/dev/null || true
867 [ ! -w ${SSTATE_PKG}.siginfo ] || [ ! -e ${SSTATE_PKG}.siginfo ] || touch --no-dereference ${SSTATE_PKG}.siginfo 867 [ ! -e ${SSTATE_PKG}.siginfo ] || touch --no-dereference ${SSTATE_PKG}.siginfo 2>/dev/null || true
868} 868}
869 869
870BB_HASHCHECK_FUNCTION = "sstate_checkhashes" 870BB_HASHCHECK_FUNCTION = "sstate_checkhashes"