From 6e7e1b7172813fc4ecb60597f903dd21a4616159 Mon Sep 17 00:00:00 2001 From: John Ogness Date: Tue, 19 Dec 2017 11:16:28 +0100 Subject: update yocto-advanced: sync to devel/manut/yocto The devel/manut/yocto heavily diverted from master. Sync with latest version 8cd4956a9b48a316eab6dc6d1b1f6cd51362fecf. Signed-off-by: John Ogness --- .../yocto-advanced/yocto-distro-definitions.tex | 29 ++++++++++++++++------ 1 file changed, 21 insertions(+), 8 deletions(-) (limited to 'distribution/yocto-advanced/yocto-distro-definitions.tex') diff --git a/distribution/yocto-advanced/yocto-distro-definitions.tex b/distribution/yocto-advanced/yocto-distro-definitions.tex index d556131..dbd2ec4 100644 --- a/distribution/yocto-advanced/yocto-distro-definitions.tex +++ b/distribution/yocto-advanced/yocto-distro-definitions.tex @@ -3,9 +3,7 @@ \frametitle{why define a distribution?} \begin{itemize} \item naming of the toolchain (codenames, vendor) - \pause \item version numbers - \pause \item enable default features \end{itemize} \end{frame} @@ -29,7 +27,6 @@ (OSS compatibility kernel modules installed if available) \item[bluetooth] bluetooth support (integrated BT only) \item[irda] IrDA support - \pause \item[wifi] WiFi support (integrated only). \item[keyboard] keyboard support (e.g. keymaps will be loaded during boot) \end{description} @@ -83,10 +80,26 @@ Normally the distro features are used in package groups in a core layer. e.g. 'meta/recipes-core/packagegroups/packagegroup-base.bb': \begin{verbatim} PACKAGES = ' \ - .. - ${@base_contains("DISTRO_FEATURES", \ - "opengl", "packagegroup-opengl", "", d)} \ - .. - ' + .. + ${@base_contains("DISTRO_FEATURES", \ + "opengl", "packagegroup-opengl", "", d)} \ + .. + ' \end{verbatim} \end{frame} + +\begin{frame}[fragile] +\frametitle{Yocto with local mirror} +\begin{description} +\item [PREMIRRORS] list of mirrors that are tried before SRC\_URI +\item [MIRRORS] list of mirrors that are tried after SRC\_URI +\item [BB\_FETCH\_PREMIRRORONLY = "1"] only use sources from PREMIRRORS +\item [BB\_NO\_NETWORK = "1"] throws error instead of accessing internet +\end{description} +typical in local.conf to generate the mirror: +\begin{description} +\item [BB\_GENERATE\_MIRROR\_TARBALLS = "1"] generates a tarball that can be + used as mirror +\end{description} +\end{frame} + -- cgit v1.2.3