[OE-core] [PATCH 1/2] python3: Reformat sysconfig
Richard Purdie
richard.purdie at linuxfoundation.org
Thu Jun 20 16:32:10 UTC 2019
On Thu, 2019-06-20 at 10:43 -0500, Joshua Watt wrote:
> Reformats the sysconfig file when packaging. This file is output by
> using the python pprint function. This function will wrap long lines
> at
> 80 characters by default, and will even split strings at whitespace
> boundaries to do so, e.g.:
>
> 'A': 'B is really'
> ' long'
>
> This causes a problem for reproducibility however because there might
> be
> lines of differing lengths depending on the build path. These
> non-reproducible paths are removed, but their effect on string
> wrapping
> from pprint remains.
>
> To correct this, reformat the entire sysconfig file by re-printing
> using
> pprint with an (effectively) unlimited line length.
>
> Signed-off-by: Joshua Watt <JPEWhacker at gmail.com>
Fails on nativesdk:
https://autobuilder.yoctoproject.org/typhoon/#/builders/20/builds/969
Have aborted that build.
Cheers,
Richard
More information about the Openembedded-core
mailing list