[PATCH] buildman: Disable CONFIG_CMD_CONFIG for reproduceable build

Tom Rini trini at konsulko.com
Mon Sep 11 15:58:23 CEST 2023


On Sun, Sep 10, 2023 at 06:13:35PM -0600, Simon Glass wrote:

> When the ordering of CONFIG options changes, the gzipped CONFIG list can
> change in size and contents. This makes it hard to compare commits which
> only different in CONFIG ordering.
> 
> Disable this when -r is given, to make this easier. Update the
> documentation as well.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

This isn't the right approach.  First, thanks for figuring out the
slight rodata change that happens when testing some Kconfig rework
series.  However, this first violates the principal of least surprise as
you're turning off part of the build that was on before.  Second, it's
not the only zlib in the build, and it's often reproducible.

We should have a section somewhere in the docs about tips and tricks for
doing Kconfig rework as there's other things too such as not having the
baseline commit to compare with be a version tag since everything will
grow slightly due to then having a githash appending to it.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230911/7297c58e/attachment.sig>


More information about the U-Boot mailing list