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 <[email protected]>
---
 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
-- 
1.7.11.7


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to