[bootlin/training-materials updates] master: yocto: slides: clarify OEROOT (abdbbeca)
Luca Ceresoli
luca.ceresoli at bootlin.com
Mon Oct 3 17:48:03 CEST 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/abdbbecafd2fec774486ee117bc7caaaaf1837a9
>---------------------------------------------------------------
commit abdbbecafd2fec774486ee117bc7caaaaf1837a9
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date: Mon Oct 3 17:46:01 2022 +0200
yocto: slides: clarify OEROOT
Avoid mentioning OEROOT in the Layers chapter, it's not strictly needed and
also not 100% correct (it should mention ${OEROOT}/..).
Clarify it in teh Distro Layers section by explaining what it is.
Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>
>---------------------------------------------------------------
abdbbecafd2fec774486ee117bc7caaaaf1837a9
slides/yocto-layer-distro/yocto-layer-distro.tex | 5 ++++-
slides/yocto-layer/yocto-layer.tex | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/slides/yocto-layer-distro/yocto-layer-distro.tex b/slides/yocto-layer-distro/yocto-layer-distro.tex
index f5f14784..22cfab64 100644
--- a/slides/yocto-layer-distro/yocto-layer-distro.tex
+++ b/slides/yocto-layer-distro/yocto-layer-distro.tex
@@ -105,6 +105,10 @@ MAINTAINER = "..."
\item The \code{TEMPLATECONF} variable controls where to find the
samples.
\item It is set in \code{${OEROOT}/.templateconf}.
+ \begin{itemize}
+ \item \code{OEROOT} is the directory that contains the
+ \code{oe-init-build-env} script.
+ \end{itemize}
\end{itemize}
\end{frame}
@@ -274,4 +278,3 @@ $ kas shell /path/to/kas-project.yml -c 'bitbake dosfsutils-native'
\end{minted}
\end{itemize}
\end{frame}
-
diff --git a/slides/yocto-layer/yocto-layer.tex b/slides/yocto-layer/yocto-layer.tex
index fde0bbc2..225037da 100644
--- a/slides/yocto-layer/yocto-layer.tex
+++ b/slides/yocto-layer/yocto-layer.tex
@@ -170,7 +170,7 @@
Instead use append files.
\item Avoid duplicating files. Use append files or explicitly use
a path relative to other layers.
- \item Save the layer alongside other layers, in \code{OEROOT}.
+ \item Save the layer alongside other layers.
\item Use \code{LAYERDEPENDS} to explicitly define layer
dependencies.
\item Use \code{LAYERSERIES_COMPAT} to define the Yocto version(s)
More information about the training-materials-updates
mailing list