summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-31 13:35:54 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-01 11:20:19 +0000
commit5503a22ad07562c98db90d26b376f1d0e6689e71 (patch)
tree7a4aaafec2305a75c92d3de18281fd9299d77c3e /meta/classes
parent6023798152c0c2bd1c4a651766b73ced2ae3365e (diff)
downloadpoky-5503a22ad07562c98db90d26b376f1d0e6689e71.tar.gz
sstate: Revert using -m option to tar in sstate
In http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=2d89cff42af2bb0049224bfaaebaa2b21966169f we added a workaround for dealing with lack of time sync between build machines and their users. This has turned out to cause problems for people who rely on timestamps being preserved in sstate output. Since our autobuilders are all in time sync with ntp, revert the commit. [YOCTO #8996] (From OE-Core rev: 004a8bffdb501a99530dab2bc1c5f3d44b97b8f7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/sstate.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 6c3e82877b..33aa8d7844 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -703,7 +703,7 @@ sstate_create_package () {
703# Will be run from within SSTATE_INSTDIR. 703# Will be run from within SSTATE_INSTDIR.
704# 704#
705sstate_unpack_package () { 705sstate_unpack_package () {
706 tar -xmvzf ${SSTATE_PKG} 706 tar -xvzf ${SSTATE_PKG}
707 # Use "! -w ||" to return true for read only files 707 # Use "! -w ||" to return true for read only files
708 [ ! -w ${SSTATE_PKG} ] || touch --no-dereference ${SSTATE_PKG} 708 [ ! -w ${SSTATE_PKG} ] || touch --no-dereference ${SSTATE_PKG}
709 [ ! -w ${SSTATE_PKG}.sig ] || [ ! -e ${SSTATE_PKG}.sig ] || touch --no-dereference ${SSTATE_PKG}.sig 709 [ ! -w ${SSTATE_PKG}.sig ] || [ ! -e ${SSTATE_PKG}.sig ] || touch --no-dereference ${SSTATE_PKG}.sig