[OE-core] [PATCH] sstate.bbclass: preserve time when unstaging files

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Mon Oct 29 16:24:49 UTC 2012


Richard Purdie <richard.purdie at linuxfoundation.org> writes:

>> 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'.
>
> This is a revert of:
>
> http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=2d89cff42af2bb0049224bfaaebaa2b21966169f
>
> where the option was added deliberately to deal with time mismatch
> between autobuilders which was causing real world bugs.

But the real bug is the time mismatch in the autobuilders, isn't it?
And this can/should be solved by synchronizing time by ntp on them
instead of applying dirty hacks like resetting file dates.


Enrico




More information about the Openembedded-core mailing list