[FE training-materials-updates] yocto: slides: add a slide for versioned dependencies
Antoine Ténart
antoine.tenart at free-electrons.com
Thu Mar 24 16:41:59 CET 2016
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=b292c57f86024b1e44d4b9ba31d22616877327d6
>---------------------------------------------------------------
commit b292c57f86024b1e44d4b9ba31d22616877327d6
Author: Antoine Tenart <antoine.tenart at free-electrons.com>
Date: Thu Mar 24 10:54:35 2016 +0100
yocto: slides: add a slide for versioned dependencies
Signed-off-by: Antoine Tenart <antoine.tenart at free-electrons.com>
>---------------------------------------------------------------
b292c57f86024b1e44d4b9ba31d22616877327d6
slides/yocto-recipe-basics/yocto-recipe-basics.tex | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/slides/yocto-recipe-basics/yocto-recipe-basics.tex b/slides/yocto-recipe-basics/yocto-recipe-basics.tex
index 6c48809..f0f40a7 100644
--- a/slides/yocto-recipe-basics/yocto-recipe-basics.tex
+++ b/slides/yocto-recipe-basics/yocto-recipe-basics.tex
@@ -178,7 +178,7 @@
\end{frame}
\begin{frame}
- \frametitle{Dependencies}
+ \frametitle{Dependencies 1/2}
\begin{itemize}
\item A package can have dependencies during the build or at
runtime. To reflect these requirements in the recipe, two
@@ -198,6 +198,21 @@
\end{itemize}
\end{frame}
+\begin{frame}
+ \frametitle{Dependencies 2/2}
+ \begin{itemize}
+ \item Sometimes a package have dependencies on specific versions
+ of another package.
+ \item BitBake allows to reflect this by using:
+ \begin{itemize}
+ \item \code{DEPENDS = "package-b (>= 1.2)"}
+ \item \code{RDEPENDS_${PN} = "package-b (>= 1.2)"}
+ \end{itemize}
+ \item The following operators are supported: \code{=}, \code{>},
+ \code{<}, \code{>=} and \code{<=}.
+ \end{itemize}
+\end{frame}
+
\begin{frame}[fragile]
\frametitle{Tasks}
Default tasks already exists, they are defined in classes:
More information about the training-materials-updates
mailing list