On an embedded device
Yoke in an image built with the Yocto Project, booted under QEMU or on a board. For a device whose
software is one image, built on a workstation and written to the device as a whole. The build starts
from Yoke's layer, meta-yoke, alone: kas fetches the other layers at
the commits the layer is tested with, writes the build's configuration, and builds.
| Step | What you do |
|---|---|
| 1 · Preparing the build | clone the layer and get kas — on this machine, or in its container |
| 2 · Choosing the image | Yoke alone in the application form or in the service form, and what each image holds |
| 3 · Building and booting | build the image and boot it — under QEMU, or on a board |
| 4 · Upgrading | build the image again from a newer revision of the layer, and boot it in place of the old one |
There is no step for removing Yoke. An image is built and written as a whole; an image without Yoke is another image.
Three choices are made on the way, each with tabs, and the one you pick stays picked on every page:
| Choice | Between |
|---|---|
| where kas runs | locally, installed on this machine with the packages the Yocto Project asks of a build host; or in a container, with Podman or Docker and nothing else |
| the form | the application form, an account that installs applications; or the service form, one deployment the init system starts (the two forms) |
| the machine | QEMU, an emulated machine on this one; or a board |
What the build machine needs: a 64-bit x86 Linux machine, about 100 GB free for one machine's build, 8 GB of memory or more, and the network for the first build. A first build takes hours; one after it reuses what the first built, and takes minutes.
An image with Yoke in it, built from a build of your own, takes the layer as any other: the packages and what each form needs are in the layer.