[Buildroot] [PATCH v5 07/19] python3: generate reproducible .pyc

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Mar 20 22:31:05 UTC 2017


Hello,

On Tue, 20 Dec 2016 14:46:24 +0100, Jérôme Pouiller wrote:
> .pyc files contain modification time of .py source. In order to make build
> reproducible, we fix modification time of all .py before compiling .pyc files.
> 
> In add, since pycompile rely on modification times to know if a file need to be
> recompiled, it is safer to force recompilation of all source files.
> 
> This work was sponsored by `BA Robotic Systems'.
> 
> Signed-off-by: Jérôme Pouiller <jezz at sysmic.org>
> ---

Applied with the same changes as for PATCH 06/19.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list