Book Image

Embedded Linux Development using Yocto Projects - Second Edition

By : Otavio Salvador, Daiane Angolini
Book Image

Embedded Linux Development using Yocto Projects - Second Edition

By: Otavio Salvador, Daiane Angolini

Overview of this book

Yocto Project is turning out to be the best integration framework for creating reliable embedded Linux projects. It has the edge over other frameworks because of its features such as less development time and improved reliability and robustness. Embedded Linux Development using Yocto Project starts with an in-depth explanation of all Yocto Project tools, to help you perform different Linux-based tasks. The book then moves on to in-depth explanations of Poky and BitBake. It also includes some practical use cases for building a Linux subsystem project using Yocto Project tools available for embedded Linux. The book also covers topics such as SDK, recipetool, and others. By the end of the book, you will have learned how to generate and run an image for real hardware boards and will have gained hands-on experience at building efficient Linux systems using Yocto Project.
Table of Contents (22 chapters)
Title Page
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
7
Diving into BitBake Metadata
Index

Package feeds


As we discussed in Chapter 4, Grasping the BitBake Tool, packages play a central role, as images and SDKs rely on them. In fact, do_rootfs makes use of a local package repository to fetch the binary packages when generating the root filesystem. This repository is generally known as a package feed.

There is no reason for this repository to be used just for the images or SDK build steps. In fact, there are several valid reasons for making this repository remotely accessible internally in our development environment or publicly for use in the field. Some of these reasons are listed, including the following:

  • Easily testing an updated application during development stage, without the need of a complete system re-installation
  • Make additional packages more flexible so that they can be installed in a running image
  • Update products in the field

To produce a solid package feed, we must ensure that we have consistent increments in the package revision every time the package is changed. It is...