Главная
Study mode:
on
1
Intro
2
What is a Friendly Layer?
3
But Can't You Just Dynamically Set BBLAYERS?
4
Build a Friendly Community
5
Documenting Your Layer
6
Keep layer.conf Simple
7
Adding New Content in Layers
8
Modifying Existing Recipes
9
Avoid Network Access Outside do_fetch
10
Using Overrides
11
Example: Toolchain Override in meta-clang
12
Using Features
13
Conditional Syntax
14
Include vs Require Statements
15
Example: Distro Features in meta-virtualization
16
Example: Conditional Inheritance in meta-integrity
17
Adding Build-time Checks
18
Example: Checks in meta-virtualization
19
Using Anonymous Python Functions
20
Using Classes to Modify Recipes
21
Modifying BBCLASSEXTEND
22
yocto-check-layer Script
23
In Summary: Think About Downstream Developers
24
Appendix: bblayers.conf Parsing Details
Description:
Explore the intricacies of creating compatible and well-designed Yocto Project layers in this 30-minute conference talk by Paul Barker. Learn essential design principles to maximize layer compatibility and ensure useful error messages when layers are used incorrectly. Gain a comprehensive understanding of variables, tasks, distro features, and overrides within the Yocto Project ecosystem. Discover proper techniques for using bbappends, conditionals, distro & machine features, and sanity checks. Examine examples of well-behaved layers and update your knowledge to target the Langdale (4.1) and Kirkstone (4.0, LTS) releases. Delve into topics such as layer documentation, simplifying layer.conf, adding new content, modifying existing recipes, using overrides and features, implementing conditional syntax, adding build-time checks, and utilizing anonymous Python functions and classes. Gain insights into the bblayers.conf parsing details and learn how to effectively use the yocto-check-layer script to improve your layer development process. Read more

Creating Friendly Layers - Yocto Project 2022 Edition

Yocto Project
Add to list
0:00 / 0:00