[OE-core] [PATCH] sstate: Use -m option to tar when unpacking sstate
Enrico Scholz
enrico.scholz at sigma-chemnitz.de
Thu Oct 11 13:32:03 UTC 2012
Richard Purdie
<richard.purdie-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r at public.gmane.org>
writes:
> We've noticed failures on the project autobuilders where a shared
> sstate directory is used across multiple builders and the clocks
> become skewed.
I think, 'ntp' is a better way to solve this...
> This avoids modification times in the future and should make builds
> safer in shared environments sstate was designed for.
But this will remove information about the age of (packaged) files,
won't it? E.g. previously, I was able to see on the target machine,
when a file was modified. It is not a critical feature but often very
useful.
Now, the date on image will be either the former date or the date when
the staged tarball will be extracted (--> e.g. after 'bitbake -c clean').
Sounds confusing.
> - tar -xvzf ${SSTATE_PKG}
> + tar -xmvzf ${SSTATE_PKG}
Enrico
More information about the Openembedded-core
mailing list