Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Using Yocto Project with BeagleBone Black

You're reading from  Using Yocto Project with BeagleBone Black

Product type Book
Published in Jun 2015
Publisher
ISBN-13 9781785289736
Pages 144 pages
Edition 1st Edition
Languages
Authors (2):
Hafiz Muhammad I Sadiq Hafiz Muhammad I Sadiq
Irfan Sadiq Irfan Sadiq
Profile icon Irfan Sadiq
View More author details

Table of Contents (17) Chapters

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

Changing upstart scripts


Before we start writing our recipe, we need to decide which upstart service manager type we will use. We have two options. One is SysVinit, which we were using until now. The second one is to use systemd. We will use the latter system because it is new and emerging, you should know about it, and I like it. It has a much better startup time. To enable it, we need to add the following lines to our auto.conf file:

DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"

We will have to build the full image again using the usual commands.

Tip

It is recommended that you force recompile virtual/kernel so that all the modules are also rebuilt.

I used the following command to recompile virtual/kernel:

$ bitbake -C compile virtual/kernel; bitbake core-image-sato

If you want to check systemd, it is recommended that you add systemd-analyze to the image by adding it to the preceding package group and play with it...

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}