diff options
-rw-r--r-- | meta/classes/sstate.bbclass | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 1f37383598..ba2c9fee35 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -888,12 +888,12 @@ python sstate_report_unihash() { | |||
888 | # | 888 | # |
889 | sstate_unpack_package () { | 889 | sstate_unpack_package () { |
890 | tar -xvzf ${SSTATE_PKG} | 890 | tar -xvzf ${SSTATE_PKG} |
891 | # update .siginfo atime on local/NFS mirror | 891 | # update .siginfo atime on local/NFS mirror if it is a symbolic link |
892 | [ -O ${SSTATE_PKG}.siginfo ] && [ -w ${SSTATE_PKG}.siginfo ] && [ -h ${SSTATE_PKG}.siginfo ] && touch -a ${SSTATE_PKG}.siginfo | 892 | [ ! -h ${SSTATE_PKG}.siginfo ] || touch -a ${SSTATE_PKG}.siginfo 2>/dev/null || true |
893 | # Use "! -w ||" to return true for read only files | 893 | # update each symbolic link instead of any referenced file |
894 | [ ! -w ${SSTATE_PKG} ] || touch --no-dereference ${SSTATE_PKG} | 894 | touch --no-dereference ${SSTATE_PKG} 2>/dev/null || true |
895 | [ ! -w ${SSTATE_PKG}.sig ] || [ ! -e ${SSTATE_PKG}.sig ] || touch --no-dereference ${SSTATE_PKG}.sig | 895 | [ ! -e ${SSTATE_PKG}.sig ] || touch --no-dereference ${SSTATE_PKG}.sig 2>/dev/null || true |
896 | [ ! -w ${SSTATE_PKG}.siginfo ] || [ ! -e ${SSTATE_PKG}.siginfo ] || touch --no-dereference ${SSTATE_PKG}.siginfo | 896 | [ ! -e ${SSTATE_PKG}.siginfo ] || touch --no-dereference ${SSTATE_PKG}.siginfo 2>/dev/null || true |
897 | } | 897 | } |
898 | 898 | ||
899 | BB_HASHCHECK_FUNCTION = "sstate_checkhashes" | 899 | BB_HASHCHECK_FUNCTION = "sstate_checkhashes" |