YPS 2024.12 - Chirag Shilwant - Leveraging Dynamic Layers in Yocto Project

Опубликовано: 11 Май 2026
на канале: Yocto Project
199
2

The Yocto Project is a powerful tool for creating custom Linux distributions for embedded systems. One of its advanced features is the use of dynamic layers, which provide flexibility and modularity in managing recipes and configurations.

As of today :), following will be my session flow,

What are Dynamic Layers

When to Use Dynamic Layers

Conditional Dependencies, Modular BSPs, Custom Distributions, Product variants, etc.
How to Implement Dynamic Layers

Benefits of using Dynamic Layers

Reduced Complexity, Flexibility & Improved Maintainability
Few examples where dynamic layers is being used

meta-agl-flutter, meta-arago for meta-browser, meta-raspberrypi for qt5-layer, etc.
Scenarios when using Dynamic layers may not be appropriate or beneficial

Limited Resources, Stability Requirements, Compatibility issues, Performance Concerns, etc.
6.1. What are the alternatives to dynamic layers which can be used in above scenarios.
Layer Prioritization, Conditional Inclusion, Overlay Layers, Recipe Overrides, Custom
DISTRO_FEATURES, etc.