How are the image builder contents created?

I am trying to figure out how the contents of the image builder docker image are created.

I can see that:

  • the buildbot/buildworker image is just based on Debian and installs some dependencies and simple scripts
  • the image builder/SDK image is based on the buildworker image, and downloads and extracts its files from an archive named something like imagebuilder-.*x86_64.tar.[xz|zst]

But I cannot figure out where the imagebuilder-... archive itself is created, or how. Where is that step done?

In the normal buildbot. It is one of the build artefacts in image generation.

Example (from line 1083 onward):

And the normal imagebuilder it is not a docker image, but just the normal Linux toolchain and compiled binaries of a certain target packaged together, so that it can be expanded in a Linux PC and used to build tailored images.

Is it just one of the make targets in the buildroot then? What's the name of the target?

Never mind, I found it: target/imagebuilder/install and target/sdk/install.

Is there somewhere I can see the commands executed by the buildbot? Is it in a script or config file in the repo somewhere? The stdio view there makes it hard to separate the commands from the output.

https://git.openwrt.org/?p=buildbot.git;a=summary

phase1 = images
phase2 = vanilla packages for opkg

Wonderful, thank you!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.