Skip to main content

Overview

Source Code on GitHub

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​

LayerPurpose
meta-avocado-distroCore distribution configuration
meta-avocado-sdkSDK tools and cross-compilation support
meta-avocado-sharedCommon shared configurations
meta-avocado-qemuQEMU emulation support
meta-avocado-tpmTPM secure boot integration
meta-avocado-sbomSBOM and CVE report generation

Platform BSP Layers​

LayerTargets
meta-avocado-raspberrypiRaspberry Pi 5, Pi 4, Pi Zero 2 W, reTerminal, reTerminal DM
meta-avocado-nvidiaJetson Orin Nano, Orin NX, AGX Orin, AGX Thor, reComputer
meta-avocado-nxpi.MX 8M Plus, i.MX 91, i.MX 93, i.MX 95
meta-avocado-x86-64Intel x86-64-v2, x86-64-v3, x86-64-v4
meta-avocado-amd-x86-64AMD x86-64-v4
meta-avocado-arm64Generic arm64 UEFI
meta-avocado-qcomQualcomm RB3 Gen 2, RUBIK Pi 3
meta-avocado-rockchipRockchip platforms
meta-avocado-stmSTMicroelectronics STM32MP
meta-avocado-renesasRenesas RZ/V2N
meta-avocado-synapticsSynaptics Astra
meta-avocado-alifAlif 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.