On mercredi 19 avril 2017 12:21:18 CEST Alexander Kanavin wrote: > On 04/19/2017 11:27 AM, David Vincent wrote: > > The package is then chosen during image creation based on some > > MACHINE_FEATURES, i.e. if the machine provides a crypto accelerator to use > > instead of relying on software implementations. I hope that these new > > details will help you understand what I was trying to achieve. > > This kind of thing is better done via ROOTFS_POSTPROCESS_COMMAND, I > think. Look for examples in rootfs-postcommands.bbclass.
The problem of ROOTFS_POSTPROCESS_COMMAND is that it is a one shot function that is run at image creation. In my case, I must be able to upgrade the package over time via package management tools. Sorry for not bringing that up before. > > Alex David -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core