Skip to contentSkip to conversation

Howto find the providing recipe for a specific package?

DISCUSSION [email protected] 3 participants 4 messages Oct 25, 2016

lore
Share & tools
lore
#0 lore raw

Hey!

How can I programmatically reverse lookup the recipe which provides a specific package?

e.g. kernel-module-xfrm6-mode-transport is produced via the recipe linux-mainline, in my case, but the packagename doesn't tell this anyhow.

Is there a way to get the recipe?

Cheers,
Thilo

#1 lore raw
Quoted 11 lines · On 25 October 2016 at 12:32, [email protected] <…

Hey!

How can I programmatically reverse lookup the recipe which provides a specific package?

e.g. kernel-module-xfrm6-mode-transport is produced via the recipe linux-mainline, in my case,
but the packagename doesn't tell this anyhow.

Is there a way to get the recipe?

This should work after the recipe has been built:

$ oe-pkgdata-util lookup-recipe kernel-module-xfrm6-mode-transport

HTH,
Jussi

#2 lore raw
Quoted 3 lines
$ oe-pkgdata-util lookup-recipe kernel-module-xfrm6-mode-transport

Thanks! That is what I was looking for!

Cheers,
Thilo

#3 lore raw
Quoted 5 lines · On Tue, Oct 25, 2016 at 1:03 PM, [email protected]…
Quoted 3 lines
$ oe-pkgdata-util lookup-recipe kernel-module-xfrm6-mode-transport

Thanks! That is what I was looking for!

Quoted 8 lines

Cheers,
Thilo
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Hello,

oe-pkgdata-util has some newly added documentation in the 2.2 version of the reference manual by the way:
http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#viewing-package-information-with-oe-pkgdata-util

Cheers,
Ulf