[bootlin/training-materials updates] master: yocto: small improvements (6f87edcf)

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Oct 29 10:46:38 CEST 2021

Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/6f87edcfbbe0af31ae4bd27f86f3fb23f2f79482


commit 6f87edcfbbe0af31ae4bd27f86f3fb23f2f79482
Author: Alexandre Belloni <alexandre.belloni at bootlin.com>
Date:   Thu May 20 13:39:34 2021 +0200

    yocto: small improvements
    Signed-off-by: Alexandre Belloni <alexandre.belloni at bootlin.com>


 labs/yocto-custom-image/yocto-custom-image.tex   | 2 +-
 slides/yocto-recipe-extra/yocto-recipe-extra.tex | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/labs/yocto-custom-image/yocto-custom-image.tex b/labs/yocto-custom-image/yocto-custom-image.tex
index d0ef905f..3e4a488a 100644
--- a/labs/yocto-custom-image/yocto-custom-image.tex
+++ b/labs/yocto-custom-image/yocto-custom-image.tex
@@ -11,7 +11,7 @@ During this lab, you will:
 A build is configured by two top level recipes: the machine recipe and the image
 one. The image recipe is the top configuration file for the generated rootfs and
 the packages it includes. Our aim in this lab is to define a custom image from
-scratch to allow a precise selection of packages on the BeagleBone Black. To
+scratch to allow a precise selection of packages on the target. To
 show how to deal with real world configuration and how the Yocto Project can be
 used in the industry we will, in addition to the production image recipe you
 will use in the final product, create a development one including debug tools
diff --git a/slides/yocto-recipe-extra/yocto-recipe-extra.tex b/slides/yocto-recipe-extra/yocto-recipe-extra.tex
index 2ab01860..828377df 100644
--- a/slides/yocto-recipe-extra/yocto-recipe-extra.tex
+++ b/slides/yocto-recipe-extra/yocto-recipe-extra.tex
@@ -71,7 +71,8 @@ PACKAGECONFIG[openvpn] = "--enable-openvpn,           \
     \item Example:
-      \begin{minted}[fontsize=\small]{sh}
+      \fontsize{9}{9}\selectfont
+      \begin{minted}{sh}
 PACKAGECONFIG ??= "wispr iptables client\
                    ${@bb.utils.filter('DISTRO_FEATURES', '3g systemd wifi', d)} \
                    ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
@@ -277,8 +278,8 @@ FILES_kdump = "${sbindir}/kdump"
     \item By default several packages are produced automatically:
-PACKAGES = "${PN}-dbg ${PN}-staticdev \
-    ${PN}-dev ${PN}-doc ${PN}-locale ${PN}"
+PACKAGES = "${PN}-src ${PN}-dbg ${PN}-staticdev ${PN}-dev \
+    ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"
     \item For each of these packages a \code{FILES} variable is

More information about the training-materials-updates mailing list