YoVDO

Creating Friendly Layers - Yocto Project 2022 Edition

Offered By: Yocto Project via YouTube

Tags

Yocto Project Courses Metadata Courses Embedded Linux Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.

Syllabus

Intro
What is a Friendly Layer?
But Can't You Just Dynamically Set BBLAYERS?
Build a Friendly Community
Documenting Your Layer
Keep layer.conf Simple
Adding New Content in Layers
Modifying Existing Recipes
Avoid Network Access Outside do_fetch
Using Overrides
Example: Toolchain Override in meta-clang
Using Features
Conditional Syntax
Include vs Require Statements
Example: Distro Features in meta-virtualization
Example: Conditional Inheritance in meta-integrity
Adding Build-time Checks
Example: Checks in meta-virtualization
Using Anonymous Python Functions
Using Classes to Modify Recipes
Modifying BBCLASSEXTEND
yocto-check-layer Script
In Summary: Think About Downstream Developers
Appendix: bblayers.conf Parsing Details


Taught by

Yocto Project

Related Courses

Introduction to TensorFlow Lite
Udacity
Real-Time Embedded Systems Concepts and Practices
University of Colorado Boulder via Coursera
Embedded Linux Step by Step Using Beaglebone Black
Udemy
Embedded Linux Step by Step on Beaglebone
YouTube
Embedded Linux
Udemy