[bootlin/training-materials updates] master: yocto: slides: Fix the PREFERRED_VERSION format (9ce6a2d0)
Maxime Chevallier
maxime.chevallier at bootlin.com
Fri Dec 3 18:13:25 CET 2021
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/9ce6a2d00f2e725be27984611b1376152a5c6c2f
>---------------------------------------------------------------
commit 9ce6a2d00f2e725be27984611b1376152a5c6c2f
Author: Maxime Chevallier <maxime.chevallier at bootlin.com>
Date: Fri Dec 3 17:51:01 2021 +0100
yocto: slides: Fix the PREFERRED_VERSION format
Make the frame fragile to allow proper escaping of the % char. The
percent charcter is handled by the \path command, but not by the macro
expansion that is used by the \code macro. The dirty fix is simply not
to use a macro.
Bump the preferred version to 5.14.
Signed-off-by: Maxime Chevallier <maxime.chevallier at bootlin.com>
>---------------------------------------------------------------
9ce6a2d00f2e725be27984611b1376152a5c6c2f
slides/yocto-advanced/yocto-advanced.tex | 5 ++---
slides/yocto-bsp/yocto-bsp.tex | 4 ++--
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/slides/yocto-advanced/yocto-advanced.tex b/slides/yocto-advanced/yocto-advanced.tex
index d83ed44b..60a33002 100644
--- a/slides/yocto-advanced/yocto-advanced.tex
+++ b/slides/yocto-advanced/yocto-advanced.tex
@@ -224,7 +224,7 @@ IMAGE_INSTALL = "busybox mtd-utils"
\end{itemize}
\end{frame}
-\begin{frame}
+\begin{frame}[fragile]
\frametitle{Version selection}
\begin{itemize}
\item By default, Bitbake will try to build the provider with the
@@ -237,8 +237,7 @@ IMAGE_INSTALL = "busybox mtd-utils"
\item {\bf \%} can be used as a wildcard.
\item Example:
\begin{itemize}
- \item \catcode`\%=11\code{PREFERRED_VERSION_linux-yocto =
- "3.10\%"}\catcode`\@=14
+ \item \usebeamercolor[fg]{code} \path{PREFERRED_VERSION_linux-yocto = "5.14%"}
\item \code{PREFERRED_VERSION_python = "2.7.3"}
\end{itemize}
\end{itemize}
diff --git a/slides/yocto-bsp/yocto-bsp.tex b/slides/yocto-bsp/yocto-bsp.tex
index b6ea00d8..ae882e7c 100644
--- a/slides/yocto-bsp/yocto-bsp.tex
+++ b/slides/yocto-bsp/yocto-bsp.tex
@@ -210,13 +210,13 @@ MACHINE_FEATURES += "touchscreen"
\end{itemize}
\end{frame}
-\begin{frame}
+\begin{frame}[fragile]
\frametitle{Linux Yocto 1/4}
\begin{itemize}
\item \code{linux-yocto} is a generic set of recipes for building
mainline Linux kernel images.
\item \code{PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"}
- \item \code{PREFERRED_VERSION_linux-yocto = "5.10\%"}
+ \item \usebeamercolor[fg]{code} \path{PREFERRED_VERSION_linux-yocto = "5.14%"}
\end{itemize}
\end{frame}
More information about the training-materials-updates
mailing list