[bootlin/training-materials updates] master: yocto: slides: add --runall=fetch example where BB_NO_NETWORK is (d83f8918)

Luca Ceresoli luca.ceresoli at bootlin.com
Wed Aug 31 16:17:06 CEST 2022


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/d83f89182e7630459d60868701d8dd98498a99bc

>---------------------------------------------------------------

commit d83f89182e7630459d60868701d8dd98498a99bc
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date:   Wed Aug 31 15:18:12 2022 +0200

    yocto: slides: add --runall=fetch example where BB_NO_NETWORK is
    
    BB_NO_NETWORK is an excellent example of when one would need `bitbake
    --runall=fetch <image>', but but --runall is explained a long way back in
    our slides. Add an example here, when it clearly shows its usefulness.
    
    Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


>---------------------------------------------------------------

d83f89182e7630459d60868701d8dd98498a99bc
 slides/yocto-recipe-advanced/yocto-recipe-advanced.tex | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex b/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex
index ce5c2691..d772b934 100644
--- a/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex
+++ b/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex
@@ -451,6 +451,10 @@ PREMIRRORS:prepend = "\
       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}
+      \item To download all the sources before disabling network access use
+        \code{bitbake --runall=fetch core-image-minimal}
+      \end{itemize}
     \item Or restrict BitBake to only download files from the
       \code{PREMIRRORS}, using \code{BB_FETCH_PREMIRRORONLY = "1"}
   \end{itemize}




More information about the training-materials-updates mailing list