[bootlin/training-materials updates] master: yocto: layer: Describe what the priority is for (1b9bed4c)

Maxime Chevallier maxime.chevallier at bootlin.com
Fri Dec 3 18:14:27 CET 2021

Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/1b9bed4ce561ad1352206c0bdb941046e31abfcb


commit 1b9bed4ce561ad1352206c0bdb941046e31abfcb
Author: Maxime Chevallier <maxime.chevallier at bootlin.com>
Date:   Fri Dec 3 18:12:40 2021 +0100

    yocto: layer: Describe what the priority is for
    Signed-off-by: Maxime Chevallier <maxime.chevallier at bootlin.com>


 slides/yocto-layer/yocto-layer.tex | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/slides/yocto-layer/yocto-layer.tex b/slides/yocto-layer/yocto-layer.tex
index ac3a2426..d62c4f41 100644
--- a/slides/yocto-layer/yocto-layer.tex
+++ b/slides/yocto-layer/yocto-layer.tex
@@ -139,6 +139,8 @@
     \item However, the \code{bitbake-layers create-layer} command helps us create new
       layers and ensures this is done right.
     \item \code{bitbake-layers create-layer -p <PRIORITY> <layer>}
+    \item The \textbf{priority} is used to elect which recipe to use when multiple layers contains the same recipe
+    \item The recipe priority takes precedence over the version number ordering

More information about the training-materials-updates mailing list