Hi Zakaria

On Thu, 2021-02-11 at 03:47 -0800, [email protected] wrote:
> Hello,
>  
> I want to get the version of the packages generated by a recipe from
> the image recipe (or by a python script that runs outside of the
> package generating recipe). (like the output of the bitbake -s
> command)
>  
> Do you have any ideas please? 

Probably the image manifest is what you are looking for?

From
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#image-generation-dev-environment
:

The manifest file (.manifest) resides in the same directory as the root
filesystem image. This file lists out, line-by-line, the installed
packages.

The file contents look like this:

...
dropbear armv7at2hf-neon 2019.78-r0
dtc armv7at2hf-neon 1.6.0-r0
e2fsprogs armv7at2hf-neon 1.45.4-r0
...

> Thank you

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#52301): https://lists.yoctoproject.org/g/yocto/message/52301
Mute This Topic: https://lists.yoctoproject.org/mt/80555263/21656
Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto
Mute #linux:https://lists.yoctoproject.org/g/yocto/mutehashtag/linux
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to