Book Image

Using Yocto Project with BeagleBone Black

By : Hafiz Muhammad I Sadiq, Irfan Sadiq
Book Image

Using Yocto Project with BeagleBone Black

By: Hafiz Muhammad I Sadiq, Irfan Sadiq

Overview of this book

Table of Contents (17 chapters)
Using Yocto Project with BeagleBone Black
Credits
Foreword
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Adding a package to the root filesystem


To add this package to our root filesystem, we will use the following approach, and we will follow the same approach for subsequent packages throughout the book:

  • Create a packagegroup named packagegroup-yb-develop under meta-ybdevelop/recipes-example/

  • Add an appended image to include the preceding packagegroup instance

packagegroup

We will name this packagegroup-yb-develop.bb. It will be created under a subdirectory named packagegroups, and it will contain the following content by the end of this chapter:

SUMMARY = "Packagegroup For our layer YB-Develop"
LICENSE = "MIT"
PR = "r1"
inherit packagegroup
RDEPENDS_${PN} = "pacman4console \
      helloworld\
"

We will use this packagegroup instance for any further package addition throughout the book.

Image bbappend

We will add this file to the images subdirectory under our meta-ybdevelop/recipes-example/ directory. It will be named images/core-image-sato.bbappend. This will contain only this single line for now...