Skip to main content
Source Code on GitHub

Meta Avocado

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

Platform BSP Layers

LayerTargets
meta-avocado-raspberrypiRaspberry Pi 5, Pi 4, Pi Zero 2 W
meta-avocado-nvidiaJetson Orin Nano, Jetson AGX Orin
meta-avocado-nxpi.MX 8M Plus, i.MX 93, i.MX 91
meta-avocado-x86-64Intel x86-64-v2, x86-64-v3
meta-avocado-rockchipRockchip platforms
meta-avocado-stmSTMicroelectronics STM32MP
meta-avocado-rubikpiQualcomm RB3 Gen 2

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 init-build $KAS_YML
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.