Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Using Yocto Project with BeagleBone Black

You're reading from   Using Yocto Project with BeagleBone Black Unleash the power of the BeagleBone Black embedded platform with Yocto Project

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher
ISBN-13 9781785289736
Length 144 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (17) Chapters Close

Using Yocto Project with BeagleBone Black
Credits
Foreword
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
1. Welcome to Yocto Project and BeagleBone Black FREE CHAPTER 2. What's BitBake All About? 3. Creating the helloworld Recipe 4. Adding Multimedia to Your Board 5. Creating and Exploring Layers 6. Your First Console Game 7. Turning BeagleBone into a Home Surveillance System 8. BeagleBone as a Wi-Fi Access Point Index

Packagegroups


We have discussed how to customize images using the append file on images, or using configuration files. These techniques are useful in some use cases, yet they could become a hassle in cases where we are dealing with logs of packages and we want to use these packages with more than one image type. In such cases, we will be performing duplications, which are certainly not clean. To avoid such cases, packagegroups comes into play. The idea is to keep these lists of packages separate from image append files so that they can be used across multiple images.

This is a specialized recipe .bb file with the following features. Again, it will reside in the top-level directory of our layer/recipes-*/packagegroups/<packagegroup>.bb file:

  • It inherits package groups, that is, the packagegroup.bbclass class is used from meta/classes. This should be the first line of the code:

    Inherit packagegroup
  • All of the packagegroups that need to be created are added to the PACKAGES variable:

    PACKAGES...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images