[poky] building packages in a general recipe without adding to rootfs

Richard Purdie richard.purdie at linuxfoundation.org
Tue May 15 11:16:28 PDT 2012


On Tue, 2012-05-15 at 09:03 -0700, Peter Tornel wrote:
> I want a single recipe that contains some core packages to install in
> rootfs using IMAGE_INSTALL, and I also want to specify a number of
> packages to be built in deploy/rpm so I can install them later to my
> hard drive without having them included in my rootfs. 
>
> What's the best way to specify the additional packages in my recipe
> without having them included in my rootfs?
>
> I believe EXTRA_IMAGEDEPENDS gets the job done, but it's intended to
> be used to specify a dependency, which isn't the case here.   Is there
> something else I should be using?

I'd create a recipe which lists them as DEPENDS and then simply include
the name of that recipe on the commandline along with your image.

Cheers,

Richard





More information about the poky mailing list