summaryrefslogtreecommitdiff
path: root/distribution/yocto-advanced/yocto-distro-definitions.tex
diff options
context:
space:
mode:
Diffstat (limited to 'distribution/yocto-advanced/yocto-distro-definitions.tex')
-rw-r--r--distribution/yocto-advanced/yocto-distro-definitions.tex29
1 files changed, 21 insertions, 8 deletions
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}
+