From 2d89cff42af2bb0049224bfaaebaa2b21966169f Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 11 Oct 2012 13:20:20 +0100 Subject: [PATCH] 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 --- meta/classes/sstate.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 3fcaa659ea6..b60c7660934 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass @@ -544,7 +544,7 @@ sstate_create_package () { sstate_unpack_package () { mkdir -p ${SSTATE_INSTDIR} cd ${SSTATE_INSTDIR} - tar -xvzf ${SSTATE_PKG} + tar -xmvzf ${SSTATE_PKG} } # Need to inject information about classes not in the global configuration scope -- 2.47.3