diff mbox series

[meta-swupdate,06/12] swupdate git define PV

Message ID 20191023211101.16591-7-adrian.freihofer@siemens.com
State Changes Requested
Headers show
Series simplify swupdate config | expand

Commit Message

Freihofer, Adrian Oct. 23, 2019, 9:10 p.m. UTC
The devtool workflow does not work without setting PV properly.

To prefer the git version add the following line to the distro config:
  PREFERRED_VERSION_swupdate = "2019.04+git%"

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
---
 recipes-support/swupdate/swupdate_git.bb | 1 +
 1 file changed, 1 insertion(+)

Comments

Joris Offouga Oct. 24, 2019, 8:10 a.m. UTC | #1
Hi Adrian,

PV it's wrong, it's 2019.11

Best Regards,

Joris

Le 23/10/2019 à 23:10, Adrian Freihofer a écrit :
> The devtool workflow does not work without setting PV properly.
>
> To prefer the git version add the following line to the distro config:
>    PREFERRED_VERSION_swupdate = "2019.04+git%"
>
> Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
> ---
>   recipes-support/swupdate/swupdate_git.bb | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/recipes-support/swupdate/swupdate_git.bb b/recipes-support/swupdate/swupdate_git.bb
> index 95c57a8..3f69b87 100644
> --- a/recipes-support/swupdate/swupdate_git.bb
> +++ b/recipes-support/swupdate/swupdate_git.bb
> @@ -4,3 +4,4 @@ require swupdate_tools.inc
>   DEFAULT_PREFERENCE = "-1"
>   
>   SRCREV ?= "a8d45381253838b34e4e035c065a1cdf429b1f09"
> +PV = "2019.04+git${SRCPV}"
Adrian Freihofer Oct. 24, 2019, 4:49 p.m. UTC | #2
Hi Joris,

There is an rc1 tag, but where do you find a 2019.11 tag? I would update 
the version after the 2019.11 will be released.

Regards,
Adrian

Am Donnerstag, 24. Oktober 2019 10:10:46 UTC+2 schrieb Joris Offouga:
>
> Hi Adrian, 
>
> PV it's wrong, it's 2019.11 
>
> Best Regards, 
>
> Joris 
>
> Le 23/10/2019 à 23:10, Adrian Freihofer a écrit : 
> > The devtool workflow does not work without setting PV properly. 
> > 
> > To prefer the git version add the following line to the distro config: 
> >    PREFERRED_VERSION_swupdate = "2019.04+git%" 
> > 
> > Signed-off-by: Adrian Freihofer <adrian....@siemens.com <javascript:>> 
> > --- 
> >   recipes-support/swupdate/swupdate_git.bb | 1 + 
> >   1 file changed, 1 insertion(+) 
> > 
> > diff --git a/recipes-support/swupdate/swupdate_git.bb 
> b/recipes-support/swupdate/swupdate_git.bb 
> > index 95c57a8..3f69b87 100644 
> > --- a/recipes-support/swupdate/swupdate_git.bb 
> > +++ b/recipes-support/swupdate/swupdate_git.bb 
> > @@ -4,3 +4,4 @@ require swupdate_tools.inc 
> >   DEFAULT_PREFERENCE = "-1" 
> >   
> >   SRCREV ?= "a8d45381253838b34e4e035c065a1cdf429b1f09" 
> > +PV = "2019.04+git${SRCPV}" 
>
diff mbox series

Patch

diff --git a/recipes-support/swupdate/swupdate_git.bb b/recipes-support/swupdate/swupdate_git.bb
index 95c57a8..3f69b87 100644
--- a/recipes-support/swupdate/swupdate_git.bb
+++ b/recipes-support/swupdate/swupdate_git.bb
@@ -4,3 +4,4 @@  require swupdate_tools.inc
 DEFAULT_PREFERENCE = "-1"
 
 SRCREV ?= "a8d45381253838b34e4e035c065a1cdf429b1f09"
+PV = "2019.04+git${SRCPV}"