Closed a3f closed 10 months ago
I have the equivalent on zeus and it works well. I left this as a draft until I can test this against a more up to date Yocto release. Comments welcome in the meantime though!
I left this as a draft until I can test this against a more up to date Yocto release.
I have now tested this with hardknott and it works fine.
In the meantime, I have added an intermediary recipe that does basically:
OTHERMACHINE_DEPLOYDIR= "../../../../tmp_mc-othermachine/deploy/images/othermachine"
do_deploy[mcdepends] += "mc::othermachine:originalrecipe:do_deploy
do_deploy () {
cd ${DEPLOY_DIR_IMAGE}
ln -sf ${OTHERMACHINE_DEPLOYDIR}/artifact-othermachine $ ${DEPLOYDIR}/
}
So I am no longer using the changes I originally submitted here. I will try to find some time in a few weeks to incorporate your feedback and retest.
@a3f Any update on this or interest in the topic? Or should we close this until someone needs mc deps again?
Sorry, didn't find the time to address the feedback. As I don't currently use it, I'll close till there's renewed interest.
Users may want to populate a slot with an image resulting from a multiconfig build. This can be especially useful with RAUC variants:
MACHINE
sMACHINE
For this to work out of the box,
bundle.bbclass
will need some multiconfig awareness to emitmcdepends
instead ofdepends
when depending on a multiconfig recipe.With this addressed, following slots definition is now possible:
No functional change intended for non-multiconfig users.