[bootlin/training-materials updates] master: yocto: slides: fix hidden text due to long line (97eb8de2)
Luca Ceresoli
luca.ceresoli at bootlin.com
Fri Nov 18 10:38:41 CET 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/97eb8de26efe0c65bb1c340f67af1f50322795f7
>---------------------------------------------------------------
commit 97eb8de26efe0c65bb1c340f67af1f50322795f7
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date: Wed Nov 16 11:31:44 2022 +0100
yocto: slides: fix hidden text due to long line
The very long SRC_URI line overflows the left-hand block and the last
characters are hidden under the right-hand block.
Instead of fixing the issue, simply remove the unneeded columnar layout and
have the example on a single block as it fits very nicely on the slide.
Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>
>---------------------------------------------------------------
97eb8de26efe0c65bb1c340f67af1f50322795f7
slides/yocto-recipe-basics/yocto-recipe-basics.tex | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/slides/yocto-recipe-basics/yocto-recipe-basics.tex b/slides/yocto-recipe-basics/yocto-recipe-basics.tex
index 5004f5f5..2895e5a8 100644
--- a/slides/yocto-recipe-basics/yocto-recipe-basics.tex
+++ b/slides/yocto-recipe-basics/yocto-recipe-basics.tex
@@ -439,8 +439,6 @@ SRC_URI += "file://joystick-support.patch \
\begin{frame}[fragile]
\frametitle{Hello world recipe}
- \begin{columns}
- \column{0.6\textwidth}
\begin{block}{}
\begin{minted}[fontsize=\scriptsize]{sh}
DESCRIPTION = "Hello world program"
@@ -452,14 +450,8 @@ LICENSE = "GPL-2.0-or-later"
SRC_URI = "git://git.example.com/hello;protocol=https;branch=master"
SRCREV = "2d47b4eb66e705458a17622c2e09367300a7b118"
S = "${WORKDIR}/git"
-LIC_FILES_CHKSUM = \
- "file://hello.c;beginline=3;endline=21;md5=58e..."
- \end{minted}
- \end{block}
+LIC_FILES_CHKSUM = "file://hello.c;beginline=3;endline=21;md5=58e..."
- \column{0.4\textwidth}
- \begin{block}{}
- \begin{minted}[fontsize=\scriptsize]{sh}
do_compile() {
oe_runmake
}
@@ -469,7 +461,6 @@ do_install() {
}
\end{minted}
\end{block}
- \end{columns}
\end{frame}
\subsection{Example of a recipe with a version agnostic part}
More information about the training-materials-updates
mailing list