mbox series

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

Message ID 20251016-contrib-mathieu-build_props-v4-0-1f2f6700e06b@bootlin.com
Headers show
Series run-config: Export some build properties | expand

Message

Mathieu Dubois-Briand Oct. 16, 2025, 1:20 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 v4:
- Improve comments in scripts/getproperties.py changes.
- Link to v3: https://lore.kernel.org/r/20251007-contrib-mathieu-build_props-v3-0-0263f52bd682@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 (2):
      getproperties: Also extract build properties
      getproperties: Add property to indicate we use bitbake-setup

 scripts/getproperties.py | 31 +++++++++++++++++++++++++++++--
 1 file changed, 29 insertions(+), 2 deletions(-)
---
base-commit: 1a41841cf310adb608e88763f0ebb308c8cd897b
change-id: 20250904-contrib-mathieu-build_props-54c0ccc96861

Best regards,