[bootlin/training-materials updates] master: yocto: slides: improve info about creating a local mirror and building offline (fd0749fb)
Luca Ceresoli
luca.ceresoli at bootlin.com
Mon Oct 30 17:24:17 CET 2023
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/fd0749fbee99dbe2a0cfc26293abd47dddb7d0cc
>---------------------------------------------------------------
commit fd0749fbee99dbe2a0cfc26293abd47dddb7d0cc
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date: Mon Oct 30 17:06:44 2023 +0100
yocto: slides: improve info about creating a local mirror and building offline
Reported-by: rpjday at crashcourse.ca
Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>
>---------------------------------------------------------------
fd0749fbee99dbe2a0cfc26293abd47dddb7d0cc
.../yocto-recipe-advanced/yocto-recipe-advanced.tex | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex b/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex
index fc33c20a..f0874e5f 100644
--- a/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex
+++ b/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex
@@ -470,11 +470,22 @@ PREMIRRORS:prepend = "\
\end{block}
\end{frame}
-\begin{frame}[fragile]
- \frametitle{Forbidding network access}
+\begin{frame}{Creating a local mirror}
+ \begin{itemize}
+ \item The download directory can be exposed on the network to create a
+ local mirror
+ \begin{itemize}
+ \item Except for sources fetched via an SCM a tarball of the
+ repository is needed, not the bare git repository that is created
+ by default
+ \item You can use \code{BB_GENERATE_MIRROR_TARBALLS = "1"} to
+ generate tarballs of the git repositories in \code{DL_DIR}
+ \end{itemize}
+ \end{itemize}
+\end{frame}
+
+\begin{frame}{Forbidding network access}
\begin{itemize}
- \item You can use \code{BB_GENERATE_MIRROR_TARBALLS = "1"} to
- generate tarballs of the git repositories in \code{DL_DIR}
\item You can also completely disable network access using
\code{BB_NO_NETWORK = "1"}
\begin{itemize}
More information about the training-materials-updates
mailing list