[bootlin/training-materials updates] master: iyocto-recipe-basics: make text selectable (fcb69f32)

Alexandre Belloni alexandre.belloni at bootlin.com
Thu Jun 22 00:22:22 CEST 2023


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

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

commit fcb69f321040d6637484d9c7033ed6e8698b087e
Author: Alexandre Belloni <alexandre.belloni at bootlin.com>
Date:   Thu Jun 22 00:22:22 2023 +0200

    iyocto-recipe-basics: make text selectable
    
    Signed-off-by: Alexandre Belloni <alexandre.belloni at bootlin.com>


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

fcb69f321040d6637484d9c7033ed6e8698b087e
 slides/yocto-recipe-basics/file-overrides.dia      | Bin 877 -> 0 bytes
 slides/yocto-recipe-basics/yocto-recipe-basics.tex |  15 ++++++++++++++-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/slides/yocto-recipe-basics/file-overrides.dia b/slides/yocto-recipe-basics/file-overrides.dia
deleted file mode 100644
index a229fad1..00000000
Binary files a/slides/yocto-recipe-basics/file-overrides.dia and /dev/null differ
diff --git a/slides/yocto-recipe-basics/yocto-recipe-basics.tex b/slides/yocto-recipe-basics/yocto-recipe-basics.tex
index dd54087b..3aeb6974 100644
--- a/slides/yocto-recipe-basics/yocto-recipe-basics.tex
+++ b/slides/yocto-recipe-basics/yocto-recipe-basics.tex
@@ -258,7 +258,20 @@ SRC_URI += "file://defconfig"
       values:
   \end{itemize}
   \begin{center}
-    \includegraphics[width=0.7\textwidth]{slides/yocto-recipe-basics/file-overrides.pdf}
+  \begin{minipage}{0.6\textwidth}
+    \fontsize{8}{8}\selectfont
+    \begin{minted}{text}
+recipes-kernel/
+└── linux
+    ├── my-linux
+    │   ├── mymachine1
+    │   │   └── defconfig <-- used when MACHINE="mymachine1"
+    │   ├── mymachine2
+    │   │   └── defconfig <-- used when MACHINE="mymachine2"
+    │   └── defconfig     <-- used for any other MACHINE value
+    └── my-linux_6.4.bb
+    \end{minted}
+  \end{minipage}
   \end{center}
 \end{frame}
 




More information about the training-materials-updates mailing list