Message ID | 20191024185635.31754-6-adrian.freihofer@siemens.com |
---|---|
State | Accepted |
Headers | show |
Series | simplify swupdate config | expand |
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
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
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"
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(-)