[yocto] Set aside some packages as supplement to the rootfs creation

Darcy Watkins dwatkins at sierrawireless.com
Wed Feb 15 11:09:30 PST 2017


Hi,

I want to be able to build an image target in such a way that 'bitbake image-target' builds the target as follows:

1.  All of the packages are built for this target, including the RPMs
2.  Some of the packages are designated as NOT to be installed into the rootfs generated for the target at build time
3.  They need to be available in the RPM feed to be installed on the target subsequent to flashing the rootfs image
4.  Need some sort of supplemental manifest that lists these packages that were built, but are NOT in the rootfs

Are there some variables, bbclasses, etc set up to facilitate this?

I have tried using PACKAGE_EXCLUDE but this doesn't guarantee that they will be built.

I think I can do it by adding a bbclass that will:
-  add a task that depends on the supplemental packages being built
-  exclude them from the target image by default (using PACKAGE_EXCLUDE)
-  ensure that the supplemental packages are deployed to the feed and create some sort of supplemental manifest

But want to make sure this doesn't reinvent any wheels.

Thanks!

PS: Hope to see some of you at upcoming Embedded Linux Conference and Yocto Project DevDay in Portland.


Regards,

Darcy

Darcy Watkins ::  Staff Engineer, Firmware

SIERRA WIRELESS
Direct  +1 604 233 7989   ::  Fax  +1 604 231 1109  ::  Main  +1 604 231 1100
13811 Wireless Way  :: Richmond, BC Canada V6V 3A4
[P2]
dwatkins at sierrawireless.com :: www.sierrawireless.com :: www.inmotiontechnology.com 




More information about the yocto mailing list