[bootlin/training-materials updates] master: yocto: slides: upgrade PREMIRRORS defaults to kirkstone (7f9d1b7f)

Luca Ceresoli luca.ceresoli at bootlin.com
Mon Jul 18 17:03:05 CEST 2022


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

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

commit 7f9d1b7f6f74eaa797020fbc8cbc61b0d0845fef
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date:   Mon Jul 18 16:58:35 2022 +0200

    yocto: slides: upgrade PREMIRRORS defaults to kirkstone
    
    These have changed a lot from previous versions. Show the kirkstone values.
    
    Also don't mention Poky in the title as it does not contain any PREMIRRORS
    anymore.
    
    Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


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

7f9d1b7f6f74eaa797020fbc8cbc61b0d0845fef
 .../yocto-recipe-advanced.tex                      | 29 ++++++++++------------
 1 file changed, 13 insertions(+), 16 deletions(-)

diff --git a/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex b/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex
index 0e4cefab..eab291ab 100644
--- a/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex
+++ b/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex
@@ -396,23 +396,20 @@ BUILDHISTORY_COMMIT = "1"
 \end{frame}
 
 \begin{frame}[fragile]
-  \frametitle{Mirror configuration in Poky}
+  \frametitle{Mirror configuration in OpenEmbedded-Core}
+  \code{meta/classes/mirrors.bbclass}
   \begin{block}{}
-    \begin{minted}[fontsize=\scriptsize]{sh}
-PREMIRRORS ??= "\
-bzr://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \n \
-cvs://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \n \
-git://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \n \
-hg://.*/.*    http://downloads.yoctoproject.org/mirror/sources/ \n \
-osc://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \n \
-p4://.*/.*    http://downloads.yoctoproject.org/mirror/sources/ \n \
-svk://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \n \
-svn://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \n"
-
-MIRRORS =+ "\
-ftp://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \n \
-http://.*/.*  http://downloads.yoctoproject.org/mirror/sources/ \n \
-https://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n"
+    \begin{minted}[fontsize=\tiny]{sh}
+PREMIRRORS += "git://sourceware.org/git/glibc.git        https://downloads.yoctoproject.org/mirror/sources/ \
+               git://sourceware.org/git/binutils-gdb.git https://downloads.yoctoproject.org/mirror/sources/"
+
+MIRRORS += "\
+svn://.*/.*     http://sources.openembedded.org/ \
+git://.*/.*     http://sources.openembedded.org/ \
+https?://.*/.*  http://sources.openembedded.org/ \
+ftp://.*/.*     http://sources.openembedded.org/ \
+...
+"
     \end{minted}
   \end{block}
 \end{frame}




More information about the training-materials-updates mailing list