diff mbox series

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

Message ID 20191024185635.31754-7-adrian.freihofer@siemens.com
State Accepted
Headers show
Series simplify swupdate config | expand

Commit Message

Freihofer, Adrian Oct. 24, 2019, 6:56 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

Stefano Babic Oct. 28, 2019, 2:21 p.m. UTC | #1
On 24/10/19 20:56, Adrian Freihofer wrote:
> 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}"
> 

Acked-by : Stefano Babic <sbabic@denx.de>

I will merge this into -master.

Best regards,
Stefano Babic
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}"