Skip to content

Instantly share code, notes, and snippets.

@esutton
Last active December 7, 2022 20:21
Show Gist options
  • Save esutton/144dbe7df7508fc6a34825440e30e5c2 to your computer and use it in GitHub Desktop.
Save esutton/144dbe7df7508fc6a34825440e30e5c2 to your computer and use it in GitHub Desktop.
Yocto

References:

I expect an Azure self-hosted agent is required due to large storage requirements.

you can reuse the downloads and sstate-cache folders that it generated to speed up future builds (sometimes called "incremental" or "short" builds)

rm_work drastically reduces the storage space used while downloads and sstate-cache drastically reduce the build time, usually to under 30 minutes i.e. something that is acceptable for continuous integration

INHERIT += "rm_work"
DL_DIR = "/mnt/resource/downloads"
SSTATE_DIR = "/mnt/resource/sstate-cache"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment