mbox series

[yocto-autobuilder-helper,master-next,v3,0/3] run-config: Export some build properties

Message ID 20251007-contrib-mathieu-build_props-v3-0-0263f52bd682@bootlin.com
Headers show
Series run-config: Export some build properties | expand

Message

Mathieu Dubois-Briand Oct. 7, 2025, 2:37 p.m. UTC
Allows to extract some build data from the config.json, such as MACHINE
or DISTRO. This will be used by the build configuration step in
yocto-autobuilder2.

Additionally, add a property explicitly saying this build use
bitake-setup. This is used to either show poky or bitbake/oe-core
revisions on the console view.

Also add b4 configuration file, to ease a bit the patch submission process.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
---
Changes in v3:
- Use scripts/getproperties.py instead of scripts/run-config, easing the
  integration on the autobuilder.
- Add a build property to show we use bibake-setup.
- Link to v2: https://lore.kernel.org/r/20250909-contrib-mathieu-build_props-v2-0-b607bb47be08@bootlin.com

Changes in v2:
- Do not modify the list of arguments expected by run-config, allowing
  to merge this commit only on some branches.
- Link to v1: https://lore.kernel.org/r/20250904-contrib-mathieu-build_props-v1-0-28de412ac349@bootlin.com

---
Mathieu Dubois-Briand (3):
      b4-config: Add basic b4 configuration
      getproperties: Also extract build properties
      getproperties: Add property to indicate we use bitbake-setup

 .b4-config               |  4 ++++
 scripts/getproperties.py | 24 ++++++++++++++++++++++--
 2 files changed, 26 insertions(+), 2 deletions(-)
---
base-commit: 88bf60ac133b683cf335751d94198cd140c4b6ec
change-id: 20250904-contrib-mathieu-build_props-54c0ccc96861

Best regards,