Skip to contentSkip to conversation

Install package from on multiconfig into rootfs of another config

DISCUSSION Kevin 1 participant 1 message Dec 13, 2019

lore
Share & tools
lore

Kevin

author
#0 lore raw

Hello,

Is there a best practice for installing packages from a multiconfig into an image of a dependent configuration?  For example if I have a recipe for a binary that builds under a multiconfig configuration X, and I have an image recipe that has the following in it:
do_image[mcdepends] = multiconfig::X:my_recipe:do_install

The dependency chain seems to be working OK as I can see my multiconfig dependency being built and installed, but it is naturally in the multiconfig TMPDIR as the multiconfig is using it's own TMPDIR, say build/tmpmultiX/.

Is there a best practice for getting this binary from the multiconfig tmpdir staging area into the staging area for the main image recipe?  Or is it basically you have to add your own custom steps in the image recipe to find that multiconfig binary and install it manually?

Thanks in advance for any help/tips.