[Buildroot] [PATCH v4 14/18] python3: generate reproducible .pyc
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Wed Nov 23 22:09:39 UTC 2016
Hello,
On Wed, 23 Nov 2016 13:58:53 +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 to
> compile .pyc files.
Is there a way of avoiding the modification time contained inside
the .pyc files? According to
http://wiki.baserock.org/projects/deterministic-builds/: "Debian solve
this by creating the .pyc and .pyo files at package install time",
which is essentially what we do. How do they handle this exactly?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list