Building & Web UI
Running bitforge inside a workspace starts a local web server and, unless you
ask for a build, warms up the default image. The server streams BitBake output
so you can launch and monitor builds from your browser.
Starting BitForge
Section titled “Starting BitForge”cd my-distrobitforgeOn start BitForge:
- Loads
BitForge.tomland ensures the project layout exists. - Makes sure BitBake and the configured sources are present.
- Refreshes
conf/local.confandconf/bblayers.conf. - Records a git revision and starts the web server.
The console prints the URL to open, e.g. BitForge is running at http://0.0.0.0:PORT.
Running a build
Section titled “Running a build”Start a build from the CLI by naming an image or target:
bitforge --build core-image-minimalIf you omit the target, BitForge uses the [default] image from the manifest:
[default]image = "core-image-minimal"bitforge --buildYou can also start builds from the web UI once the server is running — the same build engine drives both.
Stopping
Section titled “Stopping”Press Ctrl+C to shut down gracefully; BitForge waits for the configured grace
period to let in-flight work settle. Press Ctrl+C again to force an immediate
exit.
Updating BitForge
Section titled “Updating BitForge”BitForge updates itself in place from GitHub releases:
bitforge --updateAdd --beta to take the latest pre-release instead of the newest stable build:
bitforge --update --betaThe updater downloads the matching release asset, replaces the running binary and reports the new version. It only replaces the binary when the release is newer than what you have installed.