Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Embedded Linux using the Yocto Project

You're reading from   Learning Embedded Linux using the Yocto Project Develop powerful embedded Linux systems with the Yocto Project components

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

Table of Contents (15) Chapters Close

Preface 1. Introduction FREE CHAPTER 2. Cross-compiling 3. Bootloaders 4. Linux Kernel 5. The Linux Root Filesystem 6. Components of the Yocto Project 7. ADT Eclipse Plug-ins 8. Hob, Toaster, and Autobuilder 9. Wic and Other Tools 10. Real-time 11. Security 12. Virtualization 13. CGL and LSB Index

Wic


Wic is a command line tool that can be also seen as an extension of the BitBake build system. It was developed due to the need of having a partitioning mechanism and a description language. As it can be concluded easily, BitBake lacks in these areas and although initiatives were taken to make sure that such a functionality would be available inside the BitBake build system, this was only possible to an extent; for more complex tasks, Wic can be an alternative solution.

In the following lines, I will try to describe the problem associated with BitBake's lack of functionality and how Wic can solve this problem in an easy manner. I will also show you how this tool was born and what source of inspiration source was.

When an image is being built using BitBake, the work is done inside an image recipe that inherits image.bbclass for a description of its functionality. Inside this class, the do_rootfs() task is the one that the OS responsible for the creation of the root filesystem directory that...

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 €18.99/month. Cancel anytime