[yocto] Finding/Generating Rootfs Package List

Gary Thomas gary at mlbassoc.com
Thu Apr 25 07:49:38 PDT 2013


On 2013-04-25 08:25, Burton, Ross wrote:
> Hi Jon,
>
> On 25 April 2013 15:10, Jon Szymaniak <jon.szymaniak at gmail.com> wrote:
>> In my current situation, I have a small read-only image where I can't afford
>> to ship pkg data, and wanted to gather this info on the host side of things.
>> I assume this information is tracked somewhere in the poky build directory,
>> but I'm having some trouble finding it.
>>
>> Could someone kindly point me towards this information or the documentation
>> section(s) that I may have overlooked.
>
> In tmp/work/[machine]/[image]/[version]/ you'll find
> installed-pkgs.txt and complementary-pkgs.txt, which should be exactly
> what you want.

True, but the installed-pkgs.txt file only contains the names, not the
version information (at least with opkg).  I suppose you could write a
script to use this file as a starting point, then look through the packages,
e.g. tmp/deploy/ipk/*, to find the actual version used.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list