[bootlin/training-materials updates] master: yocto: slides: simplify and improve "The base class" slide (03ee7c27)

Luca Ceresoli luca.ceresoli at bootlin.com
Wed Sep 28 09:58:11 CEST 2022


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

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

commit 03ee7c27e4d8144ab091421db04468959668236a
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date:   Wed Sep 28 09:28:27 2022 +0200

    yocto: slides: simplify and improve "The base class" slide
    
    Flatten the list: at this leve we don't care about which features are
    provded directly by base.bbclass and which come from a class inherited by
    it.
    
    Other changes:
    
     * add a few more tasks
     * don't explain tasks, they have already been covered
     * mention SOURCEFORGE_MIRROR, which was used initially to describe
       '*_MIRROR' variables
    
    Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


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

03ee7c27e4d8144ab091421db04468959668236a
 .../yocto-recipe-advanced/yocto-recipe-advanced.tex   | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex b/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex
index e1426f80..90d7cb59 100644
--- a/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex
+++ b/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex
@@ -143,16 +143,15 @@ SRC_URI += "file://custom-modification-0.patch \
   \frametitle{The base class}
   \begin{itemize}
     \item Every recipe inherits the base class automatically.
-    \item Contains a set of basic common tasks to fetch, unpack or
-          compile applications.
-    \item Inherits other common classes, providing:
-    \begin{itemize}
-      \item Mirrors definitions: \code{DEBIAN_MIRROR},
-            \code{GNU_MIRROR}, \code{KERNELORG_MIRROR}\dots
-      \item Automatic application of patch files listed in \code{SRC_URI}
-      \item Some tasks: \code{clean}, \code{listtasks} or
-            \code{fetch}.
-    \end{itemize}
+    \item Defines basic common tasks with a default implementation:
+      \begin{itemize}
+        \item \code{fetch}, \code{unpack}, \code{patch}
+        \item \code{configure}, \code{compile}, \code{install}
+        \item Utility tasks such as: \code{clean}, \code{listtasks}
+      \end{itemize}
+    \item Automatically applies patch files listed in \code{SRC_URI}
+    \item Defines mirrors: \code{SOURCEFORGE_MIRROR}
+      \code{DEBIAN_MIRROR}, \code{GNU_MIRROR}, \code{KERNELORG_MIRROR}\dots
     \item Defines \code{oe_runmake}, using \code{EXTRA_OEMAKE} to use
       custom arguments.
   \end{itemize}




More information about the training-materials-updates mailing list