[bootlin/training-materials updates] master: yocto: slides: update description of rootfs generation (958a430f)
Luca Ceresoli
luca.ceresoli at bootlin.com
Thu Aug 18 10:19:24 CEST 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/958a430fc1e1c4412e0ac3640b3bef999417b6b3
>---------------------------------------------------------------
commit 958a430fc1e1c4412e0ac3640b3bef999417b6b3
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date: Thu Aug 18 09:43:33 2022 +0200
yocto: slides: update description of rootfs generation
The rootfs_deb_do_rootfs code does not exist in oe-core since a long
time. Remove it and replace it with a more descriptive line in the previous
slide.
Also add the first step for rootfs generation: creating an empty directory.
Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>
>---------------------------------------------------------------
958a430fc1e1c4412e0ac3640b3bef999417b6b3
slides/yocto-recipe-extra/yocto-recipe-extra.tex | 25 +++---------------------
1 file changed, 3 insertions(+), 22 deletions(-)
diff --git a/slides/yocto-recipe-extra/yocto-recipe-extra.tex b/slides/yocto-recipe-extra/yocto-recipe-extra.tex
index 4d53ccc2..e1dc5d83 100644
--- a/slides/yocto-recipe-extra/yocto-recipe-extra.tex
+++ b/slides/yocto-recipe-extra/yocto-recipe-extra.tex
@@ -184,7 +184,9 @@ PACKAGECONFIG ??= "wispr iptables client\
\begin{itemize}
\item Image generation overview:
\begin{enumerate}
- \item The rootfs is created using packages.
+ \item An empty directory is created for the root filesystem.
+ \item Packages from \code{IMAGE_INSTALL} are installed into it
+ using the package manager.
\item One or more images files are created, depending on the
\code{IMAGE_FSTYPES} value.
\end{enumerate}
@@ -197,27 +199,6 @@ PACKAGECONFIG ??= "wispr iptables client\
\end{itemize}
\end{frame}
-\begin{frame}[fragile]
- \frametitle{Example: rootfs creation with .deb packages}
- \begin{block}{}
- \begin{minted}{sh}
-rootfs_deb_do_rootfs () {
- [...]
-
- export INSTALL_ROOTFS_DEB="${IMAGE_ROOTFS}"
-
- [...]
-
- apt update
- apt ${APT_ARGS} install ${package_to_install} \
- --force-yes --allow-unauthenticated
-
- [...]
-}
- \end{minted}
- \end{block}
-\end{frame}
-
\subsection{Package splitting}
\begin{frame}{Package splitting}
More information about the training-materials-updates
mailing list