[OE-core] [PATCH v2 4/4] reproducible: try to ensure reproducible xz archives
Richard Purdie
richard.purdie at linuxfoundation.org
Wed Mar 4 06:03:05 UTC 2020
On Tue, 2020-03-03 at 21:31 -0300, Otavio Salvador wrote:
> On Tue, Mar 3, 2020 at 1:08 PM André Draszik <git at andred.net> wrote:
> > On Tue, 2020-03-03 at 16:05 +0000, André Draszik wrote:
> > In an ideal world, it'd parse the output of xz --verbose --verbose,
> > to catch
> > all possible ways people might be adjusting the thread limit, but
> > that's
> > non-trivial.
>
> Couldn't we just "enforce" at least two threads? It is quite unlikely
> we ever use OE on a single core machine (as it'd take few years to
> finish the build hehe) it seems like a reasonable assumption.
An earlier patch does, unless you actually set XZ_THREADS = "1". If you
do that, things are still reproducible in that the output will be
consistent, just not with any other value of XZ_THREADS. So I think we
should be fine without this patch.
Cheers,
Richard
More information about the Openembedded-core
mailing list