- Embedded Linux Development with Yocto Project
- Otavio Salvador Daiane Angolini
- 354字
- 2021-12-08 12:35:26
Customizing an image with Hob
The following screenshot shows the list of included recipes in the Hob interface:

We can add or remove recipes (there is a search box in the upper-right hand corner) by selecting or deselecting them. If we click on the recipe name, we can see details such as its version and license.
From the tabs, we can see the number of selected packages, the list of available packages, and how the selected packages are grouped, as shown in the following screenshot:

After clicking on Build packages and waiting for them to be built, we have a second chance to see the list of selected packages, to know the value of the Estimated image size, and to decide to remove some application in order to generate a smaller image. By clicking on the package name, the included files from this package are listed. If a package is highlighted, its log can be displayed by clicking on Open log.
BitBake resolves all dependencies from the selected packages, including any needed additional package.
We can wrap the image by clicking on Build image and waiting until our image is ready, as shown in the following screenshot:

We can start over and change configurations, edit the selected packages, view logs, or list the files. Or, for images made for the QEMU-based machines, we can click on Run image and see our image being run inside the QEMU emulator, and the Yocto Project logo, as shown in the next screenshot:

Hob is a nice tool for image adjustments and addition of few packages on existing images. It is a great user-friendly interface for simple tasks and may be useful for teams to make temporary modifications in their images.
Tip
Hob is in the process of being replaced by a new tool called Toaster. At the time of writing this book, Toaster is under heavy development, and it is still feature incomplete. However, the next Yocto Project release will supersede Hob, according to the Toaster planned feature set. So, it is advised to research for Toaster in the Yocto Project documentation website for more updated information.
- 發布!設計與部署穩定的分布式系統(第2版)
- Learning Windows Server Containers
- UNIX操作系統設計
- vSphere Virtual Machine Management
- 異質結原理與器件
- Instant Optimizing Embedded Systems using Busybox
- 突破平面3ds Max動畫設計與制作
- INSTANT Galleria Howto
- Hadoop Real-World Solutions Cookbook
- Web Penetration Testing with Kali Linux(Third Edition)
- Docker容器技術與應用
- Office 365 User Guide
- 鴻蒙入門:HarmonyOS應用開發
- 樹莓派+傳感器:創建智能交互項目的實用方法、工具及最佳實踐
- C#實用教程(第2版)