Yocto has a fantastic feature that enables it to automatically check any software packages added to a system image against the known security vulnerabilities, as tracked by the public Common Vulnerabilities and Exposures (CVE) database. To enable the check, add the following… Read more
Tag: Yocto
How to layout the structure of a Yocto Project
I like to keep the directories in my Yocto projects structured so that I can easily keep track of where things come from. One of my biggest things is keeping any layers I have created separate from any layers I… Read more
How to add a Golang recipe to Yocto
Yocto supports Golang recipes, but they are slightly different to standard ones. Simple Recipe For a basic recipe without any dependancies, it is still quite simple. SUMMARY = “This is a simple example recipe that cross-compiles a Go program.” SECTION… Read more
Yocto: Conditionally setting a variable based on the image name
With one of my current build systems, I have two different build images – a production and a development one. For the production system, I want to have the root filesystem installed on the on-board eMMC storage but for the… Read more
Common Variables for Yocto Recipes
When writing Yocto recipes there are some common variables that can be used, espcially in the do_install() section An example of this would be: do_install() { install -d ${D}${bindir} install -m 0644 ${S}/my_program ${D}${bindir} } These variables are defined in… Read more
How to Set Up a Yocto Build Server as a Remote Package Repository
If you are using Yocto to create your embedded linux system, it can really useful to set your server up to act as a package repository. Setting up Assuming that you have set your local.conf to have PACKAGE_CLASSES ?= “package_ipk”… Read more