sstate: Use -m option to tar when unpacking sstate
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Oct 2012 12:20:20 +0000 (13:20 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Oct 2012 11:13:43 +0000 (12:13 +0100)
commit2202656412c8b8450a89ea12b9c5a731a7530cab
treeeeaa791cc2dc7613707f1dac7ab50270f8808a0a
parentefd5c5e44969b8b04a448f73b13da9f6f4c2e490
sstate: Use -m option to tar when unpacking sstate

We've noticed failures on the project autobuilders where a shared sstate
directory is used across multiple builders and the clocks become skewed.

Most of the time this causes harmless building but if this happens where
an environment is changed (make install vs make in qt4-x11-free for example),
the build can fail.

This avoids modification times in the future and should make builds safer
in shared environments sstate was designed for.

(From OE-Core rev: 8f1bdb4f4afd7f5f4c121be8ba82f4675f73e300)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass