summaryrefslogtreecommitdiff
path: root/distribution/yocto-advanced/yocto-local-conf.tex
blob: b1e2a52f59e4ce183f8e22cc75c90f11c6d12cb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
\begin{frame}
\frametitle{build configuration}
local.conf is used to configure
\begin{itemize}
	\item the target machine
	\item paths
	\item the used distribution
	\item package formats
	\item arch of developer machine
	\item additional image features
	\item use additional classes
	\item enable testing
	\item devshell terminal
	\item patch resolver
	\item disk monitoring
	\item sstate mirrors
	\item qemu configuration
	\item incompatible licenses, e.g. INCOMPATIBLE\_LICENSE = “GPLv3”
\end{itemize}
\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
\item [BB\_GENERATE\_MIRROR\_TARBALLS = "1"] generates a tarball that can be
  used as mirror
\end{description}
\end{frame}

\begin{frame}[fragile]
\frametitle{override default config files}
default templates can be overridden by setting TEMPLATECONF
to e.g. meta-mini/conf during ./oe-init-buildenv.

Then meta-mini/conf bblayers.conf.sample and local.conf.sample will
be used.

The default location is specified in

\begin{verbatim}
% cat .templateconf
# Template settings
TEMPLATECONF=${TEMPLATECONF:-meta-yocto/conf}
\end{verbatim}
\end{frame}