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 957762db5c..da29225983 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -863,12 +863,12 @@ python sstate_report_unihash() { | |||
863 | # | 863 | # |
864 | sstate_unpack_package () { | 864 | sstate_unpack_package () { |
865 | tar -xvzf ${SSTATE_PKG} | 865 | tar -xvzf ${SSTATE_PKG} |
866 | # update .siginfo atime on local/NFS mirror | 866 | # update .siginfo atime on local/NFS mirror if it is a symbolic link |
867 | [ -O ${SSTATE_PKG}.siginfo ] && [ -w ${SSTATE_PKG}.siginfo ] && [ -h ${SSTATE_PKG}.siginfo ] && touch -a ${SSTATE_PKG}.siginfo | 867 | [ ! -h ${SSTATE_PKG}.siginfo ] || touch -a ${SSTATE_PKG}.siginfo 2>/dev/null || true |
868 | # Use "! -w ||" to return true for read only files | 868 | # update each symbolic link instead of any referenced file |
869 | [ ! -w ${SSTATE_PKG} ] || touch --no-dereference ${SSTATE_PKG} | 869 | touch --no-dereference ${SSTATE_PKG} 2>/dev/null || true |
870 | [ ! -w ${SSTATE_PKG}.sig ] || [ ! -e ${SSTATE_PKG}.sig ] || touch --no-dereference ${SSTATE_PKG}.sig | 870 | [ ! -e ${SSTATE_PKG}.sig ] || touch --no-dereference ${SSTATE_PKG}.sig 2>/dev/null || true |
871 | [ ! -w ${SSTATE_PKG}.siginfo ] || [ ! -e ${SSTATE_PKG}.siginfo ] || touch --no-dereference ${SSTATE_PKG}.siginfo | 871 | [ ! -e ${SSTATE_PKG}.siginfo ] || touch --no-dereference ${SSTATE_PKG}.siginfo 2>/dev/null || true |
872 | } | 872 | } |
873 | 873 | ||
874 | BB_HASHCHECK_FUNCTION = "sstate_checkhashes" | 874 | BB_HASHCHECK_FUNCTION = "sstate_checkhashes" |