[bootlin/training-materials updates] master: yocto: slides: mode "Modifying existing tasks" slide to advanced section (8c3c33b5)
Luca Ceresoli
luca.ceresoli at bootlin.com
Tue May 9 14:38:31 CEST 2023
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/8c3c33b5e696ddc0369517ae9df2c76db7b9ad02
>---------------------------------------------------------------
commit 8c3c33b5e696ddc0369517ae9df2c76db7b9ad02
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date: Tue May 9 14:38:31 2023 +0200
yocto: slides: mode "Modifying existing tasks" slide to advanced section
Move this slide when introducing .bbappend files, otherwise it is not very
useful.
Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>
>---------------------------------------------------------------
8c3c33b5e696ddc0369517ae9df2c76db7b9ad02
slides/yocto-recipe-advanced/yocto-recipe-advanced.tex | 13 +++++++++++++
slides/yocto-recipe-basics/yocto-recipe-basics.tex | 13 -------------
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex b/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex
index 63b24fc3..3196a1a4 100644
--- a/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex
+++ b/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex
@@ -71,6 +71,19 @@ SRC_URI += "file://custom-modification-0.patch \
\end{block}
\end{frame}
+\begin{frame}[fragile]
+ \frametitle{Modifying existing tasks}
+ Tasks can be extended with \code{:prepend} or \code{:append}
+ \begin{block}{}
+ \begin{minted}{sh}
+do_install:append() {
+ install -d ${D}${sysconfdir}
+ install -m 0644 hello.conf ${D}${sysconfdir}
+}
+ \end{minted}
+ \end{block}
+\end{frame}
+
\subsection{Providing virtual packages}
\begin{frame}
diff --git a/slides/yocto-recipe-basics/yocto-recipe-basics.tex b/slides/yocto-recipe-basics/yocto-recipe-basics.tex
index a0134b89..be4e6735 100644
--- a/slides/yocto-recipe-basics/yocto-recipe-basics.tex
+++ b/slides/yocto-recipe-basics/yocto-recipe-basics.tex
@@ -349,19 +349,6 @@ do_install() {
\end{center}
\end{frame}
-\begin{frame}[fragile]
- \frametitle{Modifying existing tasks}
- Tasks can be extended with \code{:prepend} or \code{:append}
- \begin{block}{}
- \begin{minted}{sh}
-do_install:append() {
- install -d ${D}${sysconfdir}
- install -m 0644 hello.conf ${D}${sysconfdir}
-}
- \end{minted}
- \end{block}
-\end{frame}
-
\begin{frame}[fragile]
\frametitle{Adding new tasks}
Tasks can be added with \code{addtask}
More information about the training-materials-updates
mailing list