Setting up Yocto Layers and Builds with Official Tools – 2023 Edition
summary
Official Poky tools record and reproduce Yocto builds by saving build config as a template and layer layout as a JSON plus a self-contained Python setup script. Commands shown: bitbake -c layers save buildconf (saves local.conf and bblayers.conf into a layer template), bitbake layers create-layer-setup (writes JSON and a bootstrap script), and use oe-init-build-env to recreate a build from a template. Templates live in a product layer (example: AlexisGizmo), layers must be committed (no uncommitted changes), and tools land in recent Poky/master.
AI-written summary · about
chapters (11)
- 0:00Yocto introduction
- 1:07Why use Yocto
- 3:13Layers and builds basics
- 8:09Layer setup challenges
- 9:35Layer configuration subproblems
- 11:43Official build tools
- 14:57Saving layer configs
- 17:07Live build setup demo
- 28:40Restoring builds
- 33:13Future tools
- 36:53Q&A
related talks
43mProducing a Complete Linux System With a Single Command (and Configuration File) With Yocto
24mDOs and DON'Ts when building a Yocto based distribution
53mReal-World Yocto: Getting the Most out of Your Build System
50mUsing the Yocto Autobuilder for Build and Release Management
45mBuilding and Maintaining Binary Distributions with Yocto
32mSoftware Supply Chain with the Yocto Project
20mUsing Yocto as a Method to Upstream, Maintain, and Track Patches
40mWhy the Yocto Project for My IoT Project
