[bootlin/training-materials updates] master: yocto: slides: improve PREFERRED_VERSION example (9773f8ef)

Luca Ceresoli luca.ceresoli at bootlin.com
Mon Jul 18 15:00:14 CEST 2022


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

>---------------------------------------------------------------

commit 9773f8efd6b04a71bed8efa58f2e77480377e8aa
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date:   Mon Jul 18 13:14:54 2022 +0200

    yocto: slides: improve PREFERRED_VERSION example
    
    Python 2 is really EOL now and it's not in any layer we use in the
    examples. Now there is only Python 3, the recipe is called "python3" but it
    implements one version only. For a more realistic example, switch to a
    package that currently has at least two versions. Unfortunately oe-core has
    no such recipe, thus pick one from meta-openembedded, which is nginx having
    the "stable" and "current" versions.
    
    Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


>---------------------------------------------------------------

9773f8efd6b04a71bed8efa58f2e77480377e8aa
 slides/yocto-advanced/yocto-advanced.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slides/yocto-advanced/yocto-advanced.tex b/slides/yocto-advanced/yocto-advanced.tex
index b9d7e7bd..3a2f3193 100644
--- a/slides/yocto-advanced/yocto-advanced.tex
+++ b/slides/yocto-advanced/yocto-advanced.tex
@@ -238,8 +238,8 @@ IMAGE_INSTALL = "busybox mtd-utils"
     \item {\bf \%} can be used as a wildcard.
     \item Example:
     \begin{itemize}
+      \item \code{PREFERRED_VERSION_nginx = "1.20.1"}
       \item \usebeamercolor[fg]{code} \path{PREFERRED_VERSION_linux-yocto = "5.14%"}
-      \item \code{PREFERRED_VERSION_python = "2.7.3"}
     \end{itemize}
   \end{itemize}
 \end{frame}




More information about the training-materials-updates mailing list