From patchwork Mon Oct 29 15:11:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: sstate.bbclass: preserve time when unstaging files Date: Mon, 29 Oct 2012 15:11:05 -0000 From: Enrico Scholz X-Patchwork-Id: 38665 Message-Id: <1351523465-26489-1-git-send-email-enrico.scholz@sigma-chemnitz.de> To: openembedded-core@lists.openembedded.org Cc: Enrico Scholz When packages are recreated after a 'bitbake -c clean', files will get wrong date because tar has been invoked with the '-m' option. Correct timestamps are useful for bug hunting and there are better ways (e.g. using of ntp) than using '-m'. Signed-off-by: Enrico Scholz --- 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 cbb14e1..d7c4e11 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass @@ -551,7 +551,7 @@ sstate_create_package () { sstate_unpack_package () { mkdir -p ${SSTATE_INSTDIR} cd ${SSTATE_INSTDIR} - tar -xmvzf ${SSTATE_PKG} + tar -xvzf ${SSTATE_PKG} } # Need to inject information about classes not in the global configuration scope