[bootlin/training-materials updates] master: slides/buildroot-download: talk about DL_DIR first (bd9f6505)
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Fri Oct 29 10:46:38 CEST 2021
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/bd9f6505888e1fb75e4b7e353af7bb4a035fc4a9
>---------------------------------------------------------------
commit bd9f6505888e1fb75e4b7e353af7bb4a035fc4a9
Author: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Date: Thu May 6 23:09:32 2021 +0200
slides/buildroot-download: talk about DL_DIR first
It is more logical, as it follows the lookup order for downloaded
files.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
>---------------------------------------------------------------
bd9f6505888e1fb75e4b7e353af7bb4a035fc4a9
slides/buildroot-download/buildroot-download.tex | 40 ++++++++++++------------
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/slides/buildroot-download/buildroot-download.tex b/slides/buildroot-download/buildroot-download.tex
index 75f37f65..228bd8aa 100644
--- a/slides/buildroot-download/buildroot-download.tex
+++ b/slides/buildroot-download/buildroot-download.tex
@@ -32,6 +32,26 @@
\end{itemize}
\end{frame}
+\begin{frame}{{\tt DL\_DIR}}
+ \begin{itemize}
+ \item Once a file has been downloaded by Buildroot, it is cached in
+ the directory pointed by
+ \code{$(DL_DIR)}, in a sub-directory named after the package.
+ \item By default, \code{$(TOPDIR)/dl}
+ \item Can be changed
+ \begin{itemize}
+ \item using the \code{BR2_DL_DIR} configuration option
+ \item or by passing the \code{BR2_DL_DIR} environment variable,
+ which overrides the config option of the same name
+ \end{itemize}
+ \item The download mechanism is written in a way that allows
+ independent parallel builds to share the same \code{DL_DIR} (using
+ atomic renaming of files)
+ \item No cleanup mechanism: files are only added, never removed,
+ even when the package version is updated.
+ \end{itemize}
+\end{frame}
+
\begin{frame}{Primary site}
\begin{itemize}
\item The \code{BR2_PRIMARY_SITE} option allows to define the
@@ -68,26 +88,6 @@
\end{itemize}
\end{frame}
-\begin{frame}{{\tt DL\_DIR}}
- \begin{itemize}
- \item Once a file has been downloaded by Buildroot, it is cached in
- the directory pointed by
- \code{$(DL_DIR)}, in a sub-directory named after the package.
- \item By default, \code{$(TOPDIR)/dl}
- \item Can be changed
- \begin{itemize}
- \item using the \code{BR2_DL_DIR} configuration option
- \item or by passing the \code{BR2_DL_DIR} environment variable,
- which overrides the config option of the same name
- \end{itemize}
- \item The download mechanism is written in a way that allows
- independent parallel builds to share the same \code{DL_DIR} (using
- atomic renaming of files)
- \item No cleanup mechanism: files are only added, never removed,
- even when the package version is updated.
- \end{itemize}
-\end{frame}
-
\begin{frame}{Special case of VCS download}
\begin{itemize}
\item When a package uses the source code from Git, Subversion or
More information about the training-materials-updates
mailing list