Skip to contentSkip to conversation

building packages in a general recipe without adding to rootfs

DISCUSSION Peter Tornel 2 participants 2 messages May 15, 2012

lore
Share & tools
lore
#0 lore raw

Hello Group,

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?

Regards,

Pete

#1 lore raw
Quoted 11 lines · Peter Tornel

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