[bootlin/training-materials updates] master: yocto: slides: use "require", not "include" in example (13b5fcbc)
Luca Ceresoli
luca.ceresoli at bootlin.com
Wed Aug 31 16:17:13 CEST 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/13b5fcbc5d8c4d161a69ff0db1df81249ac485ed
>---------------------------------------------------------------
commit 13b5fcbc5d8c4d161a69ff0db1df81249ac485ed
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date: Wed Aug 31 15:13:25 2022 +0200
yocto: slides: use "require", not "include" in example
Using "require" is safer and it should be used unless there is a good
reason to use "include". Let's make our example coherent with this.
Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>
>---------------------------------------------------------------
13b5fcbc5d8c4d161a69ff0db1df81249ac485ed
slides/yocto-recipe-advanced/yocto-recipe-advanced.tex | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex b/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex
index 03217447..ce5c2691 100644
--- a/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex
+++ b/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex
@@ -320,7 +320,7 @@ do_install() {
be found, whereas \code{require} raises a parsing error.
\item To include a local file: \code{include ninvaders.inc}
\item To include a file from another location (which could be
- in another layer): \code{include path/to/file.inc}
+ in another layer): \code{require path/to/file.inc}
\end{itemize}
\end{frame}
More information about the training-materials-updates
mailing list