[bootlin/training-materials updates] master: yocto-recipe-extra: add oe-pkgdata-util (b77bfd4c)
Alexandre Belloni
alexandre.belloni at bootlin.com
Fri Mar 19 13:17:21 CET 2021
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/b77bfd4cd39196c3b3dbdd0092f99d8575542a93
>---------------------------------------------------------------
commit b77bfd4cd39196c3b3dbdd0092f99d8575542a93
Author: Alexandre Belloni <alexandre.belloni at bootlin.com>
Date: Fri Mar 19 13:17:21 2021 +0100
yocto-recipe-extra: add oe-pkgdata-util
Signed-off-by: Alexandre Belloni <alexandre.belloni at bootlin.com>
>---------------------------------------------------------------
b77bfd4cd39196c3b3dbdd0092f99d8575542a93
slides/yocto-recipe-extra/yocto-recipe-extra.tex | 35 ++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/slides/yocto-recipe-extra/yocto-recipe-extra.tex b/slides/yocto-recipe-extra/yocto-recipe-extra.tex
index 3054e789..2ab01860 100644
--- a/slides/yocto-recipe-extra/yocto-recipe-extra.tex
+++ b/slides/yocto-recipe-extra/yocto-recipe-extra.tex
@@ -295,3 +295,38 @@ FILES_${PN}-dbg = "/usr/lib/debug /usr/src/debug"
\end{block}
\end{itemize}
\end{frame}
+
+\begin{frame}[fragile]
+ \frametitle{Inspecting packages}
+ \code{oe-pkgdata-util} is a tool that can help inspecting
+ packages:
+ \begin{itemize}
+ \item Which package is shipping a file:
+ \begin{block}{}
+ \begin{minted}[fontsize=\scriptsize]{sh}
+$ oe-pkgdata-util find-path /bin/busybox
+busybox: /bin/busybox
+ \end{minted}
+ \end{block}
+ \item Which files are shipped by a package:
+ \begin{block}{}
+ \begin{minted}[fontsize=\scriptsize]{sh}
+$ oe-pkgdata-util list-pkg-files busybox
+busybox:
+ /bin/busybox
+ /bin/busybox.nosuid
+ /bin/busybox.suid
+ /bin/sh
+ \end{minted}
+ \end{block}
+ \item Which recipe is creating a package:
+ \begin{block}{}
+ \begin{minted}[fontsize=\scriptsize]{sh}
+$ oe-pkgdata-util lookup-recipe kdump
+kexec-tools
+$ oe-pkgdata-util lookup-recipe libtinfo5
+ncurses
+ \end{minted}
+ \end{block}
+\end{itemize}
+\end{frame}
More information about the training-materials-updates
mailing list