[meta-swupdate,v2,05/12] libubootenv: git define PV
diff mbox series

Message ID 20191024185635.31754-6-adrian.freihofer@siemens.com
State Accepted
Headers show
Series
  • simplify swupdate config
Related show

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_libubootenv = "0.1+git%"

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
---
 recipes-bsp/libubootenv/libubootenv_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stefano Babic Oct. 28, 2019, 2:21 p.m. UTC | #1
Hi Adrian,

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_libubootenv = "0.1+git%"
> 

I think PREFERRED_VERSION_libubootenv = "%git%" should also work.

> Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
> ---
>  recipes-bsp/libubootenv/libubootenv_git.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-bsp/libubootenv/libubootenv_git.bb b/recipes-bsp/libubootenv/libubootenv_git.bb
> index 5dba3c3..6f7c080 100644
> --- a/recipes-bsp/libubootenv/libubootenv_git.bb
> +++ b/recipes-bsp/libubootenv/libubootenv_git.bb
> @@ -1,5 +1,5 @@
>  require libubootenv.inc
>  SRCREV = "92949816720d7af2ac722016e7a5b9a85ff141bc"
> -PV_append = "+git${SRCPV}"
> +PV = "0.1+git${SRCPV}"
>  
>  DEFAULT_PREFERENCE = "-1"
> 

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

I will merge this into -master.

Best regards,
Stefano Babic
Stefano Babic Oct. 28, 2019, 2:52 p.m. UTC | #2
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_libubootenv = "0.1+git%"
> 
> Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
> ---
>  recipes-bsp/libubootenv/libubootenv_git.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-bsp/libubootenv/libubootenv_git.bb b/recipes-bsp/libubootenv/libubootenv_git.bb
> index 5dba3c3..6f7c080 100644
> --- a/recipes-bsp/libubootenv/libubootenv_git.bb
> +++ b/recipes-bsp/libubootenv/libubootenv_git.bb
> @@ -1,5 +1,5 @@
>  require libubootenv.inc
>  SRCREV = "92949816720d7af2ac722016e7a5b9a85ff141bc"
> -PV_append = "+git${SRCPV}"
> +PV = "0.1+git${SRCPV}"
>  
>  DEFAULT_PREFERENCE = "-1"
> 

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

I will merge this into -master.

Best regards,
Stefano Babic

Patch
diff mbox series

diff --git a/recipes-bsp/libubootenv/libubootenv_git.bb b/recipes-bsp/libubootenv/libubootenv_git.bb
index 5dba3c3..6f7c080 100644
--- a/recipes-bsp/libubootenv/libubootenv_git.bb
+++ b/recipes-bsp/libubootenv/libubootenv_git.bb
@@ -1,5 +1,5 @@ 
 require libubootenv.inc
 SRCREV = "92949816720d7af2ac722016e7a5b9a85ff141bc"
-PV_append = "+git${SRCPV}"
+PV = "0.1+git${SRCPV}"
 
 DEFAULT_PREFERENCE = "-1"