Give the two recipes different names - app-release_1.0.bb and app-latest_git.bb
Alex 2018-08-10 15:36 GMT+02:00 Mauro Ziliani <ma...@faresoftware.it>: > Hi all > > I need to do this scenario. > > I have 2 image recipes: > > - final.bb > > - testing.bb > > final.bb and testing.bb install the same application name app. > > For the app I build the recipe app_1.0.bb which downloads the source code > from git with tag=1.0, app_git.bb which downloads the latest commit. > > - in final.bb I'd like to put the production version of the application: > that is app_1.0.bb > > - in testing.bb I'd like to put the testing verstion of the application: > that is app_git.bb > > Now, when I bitbake final, tha app_git is installed. This is not I want. > > How can I force final.bb to install app_1.0.bb? > > I tryed PREFERRED_VERSION_app="1.0" in final.bb recipe but it seems not > work. > > > Thansk all > > Mauro > > > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto