All of lore.kernel.org
 help / color / mirror / Atom feed
* Image with the right version inside
@ 2018-08-10 13:36 Mauro Ziliani
  2018-08-10 14:28 ` Alexander Kanavin
  0 siblings, 1 reply; 2+ messages in thread
From: Mauro Ziliani @ 2018-08-10 13:36 UTC (permalink / raw)
  To: Yocto Project

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Image with the right version inside
  2018-08-10 13:36 Image with the right version inside Mauro Ziliani
@ 2018-08-10 14:28 ` Alexander Kanavin
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Kanavin @ 2018-08-10 14:28 UTC (permalink / raw)
  To: Mauro Ziliani; +Cc: Yocto Project

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 <mauro@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-10 14:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-10 13:36 Image with the right version inside Mauro Ziliani
2018-08-10 14:28 ` Alexander Kanavin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.