summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 8182010047..849723d4dc 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -900,12 +900,12 @@ sstate_unpack_package () {
900 fi 900 fi
901 901
902 tar -I "$ZSTD" -xvf ${SSTATE_PKG} 902 tar -I "$ZSTD" -xvf ${SSTATE_PKG}
903 # update .siginfo atime on local/NFS mirror 903 # update .siginfo atime on local/NFS mirror if it is a symbolic link
904 [ -O ${SSTATE_PKG}.siginfo ] && [ -w ${SSTATE_PKG}.siginfo ] && [ -h ${SSTATE_PKG}.siginfo ] && touch -a ${SSTATE_PKG}.siginfo 904 [ ! -h ${SSTATE_PKG}.siginfo ] || touch -a ${SSTATE_PKG}.siginfo 2>/dev/null || true
905 # Use "! -w ||" to return true for read only files 905 # update each symbolic link instead of any referenced file
906 [ ! -w ${SSTATE_PKG} ] || touch --no-dereference ${SSTATE_PKG} 906 touch --no-dereference ${SSTATE_PKG} 2>/dev/null || true
907 [ ! -w ${SSTATE_PKG}.sig ] || [ ! -e ${SSTATE_PKG}.sig ] || touch --no-dereference ${SSTATE_PKG}.sig 907 [ ! -e ${SSTATE_PKG}.sig ] || touch --no-dereference ${SSTATE_PKG}.sig 2>/dev/null || true
908 [ ! -w ${SSTATE_PKG}.siginfo ] || [ ! -e ${SSTATE_PKG}.siginfo ] || touch --no-dereference ${SSTATE_PKG}.siginfo 908 [ ! -e ${SSTATE_PKG}.siginfo ] || touch --no-dereference ${SSTATE_PKG}.siginfo 2>/dev/null || true
909} 909}
910 910
911BB_HASHCHECK_FUNCTION = "sstate_checkhashes" 911BB_HASHCHECK_FUNCTION = "sstate_checkhashes"