[bootlin/training-materials updates] master: yocto: slides: consolidate the datastore variable 'd' in the dedicated slide (40d6ee04)

Luca Ceresoli luca.ceresoli at bootlin.com
Thu Aug 18 10:19:15 CEST 2022


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

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

commit 40d6ee0420b041a3d12723b190e266a0e9d027ef
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date:   Wed Aug 17 15:03:42 2022 +0200

    yocto: slides: consolidate the datastore variable 'd' in the dedicated slide
    
    Mentioning it in advance can be confusing and it is not useful as there is
    an entire slide for it immediately after.
    
    Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


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

40d6ee0420b041a3d12723b190e266a0e9d027ef
 slides/yocto-recipe-extra/yocto-recipe-extra.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/slides/yocto-recipe-extra/yocto-recipe-extra.tex b/slides/yocto-recipe-extra/yocto-recipe-extra.tex
index 94b05960..61975d67 100644
--- a/slides/yocto-recipe-extra/yocto-recipe-extra.tex
+++ b/slides/yocto-recipe-extra/yocto-recipe-extra.tex
@@ -7,8 +7,6 @@
   \begin{itemize}
     \item Tasks can be written in Python when using the keyword
       \code{python}.
-    \item The \code{d} variable is accessible, and represents the
-      BitBake datastore (where variables are stored).
     \item Two modules are automatically imported:
       \begin{itemize}
         \item \code{bb}: to access BitBake's internal functions.
@@ -26,6 +24,8 @@
   \frametitle{Accessing the datastore with Python}
   \begin{itemize}
     \item The \code{d} variable is accessible within Python tasks.
+    \item \code{d} represents the BitBake datastore (where variables are
+      stored).
   \end{itemize}
   \begin{description}
     \item[\code{d.getVar("X", expand=False)}] Returns the value of




More information about the training-materials-updates mailing list