Overview
Meta Avocado is the Yocto distro layer that powers Avocado OS. It's the build infrastructure that compiles the package feeds, kernels, BSPs, and SDK toolchains that the Avocado CLI consumes. Most users never interact with it directly — this is the layer Avocado maintains so you don't have to.
Layer Structure
| Layer | Purpose |
|---|---|
meta-avocado-distro | Core distribution configuration |
meta-avocado-sdk | SDK tools and cross-compilation support |
meta-avocado-shared | Common shared configurations |
meta-avocado-qemu | QEMU emulation support |
meta-avocado-tpm | TPM secure boot integration |
meta-avocado-sbom | SBOM and CVE report generation |
Platform BSP Layers
| Layer | Targets |
|---|---|
meta-avocado-raspberrypi | Raspberry Pi 5, Pi 4, Pi Zero 2 W, reTerminal, reTerminal DM |
meta-avocado-nvidia | Jetson Orin Nano, Orin NX, AGX Orin, AGX Thor, reComputer |
meta-avocado-nxp | i.MX 8M Plus, i.MX 91, i.MX 93, i.MX 95 |
meta-avocado-x86-64 | Intel x86-64-v2, x86-64-v3, x86-64-v4 |
meta-avocado-amd-x86-64 | AMD x86-64-v4 |
meta-avocado-arm64 | Generic arm64 UEFI |
meta-avocado-qcom | Qualcomm RB3 Gen 2, RUBIK Pi 3 |
meta-avocado-rockchip | Rockchip platforms |
meta-avocado-stm | STMicroelectronics STM32MP |
meta-avocado-renesas | Renesas RZ/V2N |
meta-avocado-synaptics | Synaptics Astra |
meta-avocado-alif | Alif Ensemble E8 |
Technical Details
- Build system: BitBake via KAS
- License: Apache 2.0
- Languages: BitBake (60%), Shell (36%), Python (4%)
Building from Source
Meta Avocado uses KAS for build orchestration:
source scripts/init-build kas/machine/<machine>.yml
source .envrc
kas build $KAS_YML
For QEMU testing:
run-qemux86-64-swtpm
note
Most users do not need to build meta-avocado directly. The Avocado CLI pulls pre-built packages from the Avocado package feeds. This repository is primarily for Avocado OS contributors and users who need to customize the distribution layer itself.