[PATCH v2 4/4] buildman: Add a flag for reproducible builds

Simon Glass sjg at chromium.org
Wed Mar 8 23:17:49 CET 2023


This is quite a useful thing to use when building since it avoids small
size changes between commits. Add a -r flag for it.

Also undefine CONFIG_LOCALVERSION_AUTO since this appends the git hash
to the version string, causing every build to be slightly different.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2:
- Drop CONFIG_LOCALVERSION_AUTO also

 doc/build/reproducible.rst      |  2 ++
 tools/buildman/builder.py       |  4 +++-
 tools/buildman/builderthread.py |  2 ++
 tools/buildman/buildman.rst     |  7 +++---
 tools/buildman/cmdline.py       |  2 ++
 tools/buildman/control.py       | 11 ++++++++-
 tools/buildman/func_test.py     | 40 +++++++++++++++++++++++++++------
 7 files changed, 56 insertions(+), 12 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list