Hi Koen / Felipe, On Thursday 28 November 2013 10:22:31 Koen Kooi wrote: > Felipe F. Tonello schreef op 28-11-13 01:56: > > From: "Felipe F. Tonello" <[email protected]> > > This recipe supports the backend for packagekit dynamically based on the > > IMAGE_PKGTYPE. > > NAK! IMAGE_FEATURES should *never* change non-image recipe params. This > breaks using feeds horribly.
IMAGE_PKGTYPE is influenced by PACKAGE_CLASSES; so this is not about IMAGE_FEATURES, and correct me if I'm wrong but maintaining package feeds would generally preclude switching to an alternative package manager, right? Some options: 1) Apply the patch as-is. Changing the order/value of PACKAGE_CLASSES will mean this and anything that depends upon it will rebuild. 2) Install the appropriate backend via some code in the image recipe. Obviously this means you have to do this for every image recipe though. 3) Use non-dynamic PACKAGECONFIG. Of course this means you'll have to remember to change this manually if you change PACKAGE_CLASSES or it'll just be broken at runtime. Honestly, option 1 sounds like the best course to me here. This is rather a special case compared to other recipes. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
