[OE-core] [PATCH 4/5] u-boot: Drop PV altogether

Denys Dmytriyenko denis at denix.org
Wed Oct 19 21:15:32 UTC 2016


On Wed, Oct 19, 2016 at 11:00:02PM +0200, Marek Vasut wrote:
> On 10/19/2016 10:10 PM, Denys Dmytriyenko wrote:
> > On Tue, Oct 18, 2016 at 11:55:12PM +0200, Marek Vasut wrote:
> >> Drop the explicit setting of PV altogether. This changes the U-Boot
> >> version string from "v20yy.mm" to "20yy.mm" , so layer setting the
> >> PREFERRED_VERSION_u-boot must be updated by removing the leading 'v'.
> > 
> > Finally!
> > But do we need to bump PE to ensure upgrade path and proper sorting?
> 
> I don't think so, since the whole U-Boot version got updated.

Still, vXXXX.YY will always sort higher than XXXX.YY no matter what digits 
there are. That's what PE is for, to get the sorting working even when 
versioning schema gets changed in major way like this one...


> >> Signed-off-by: Marek Vasut <marex at denx.de>
> >> Cc: Richard Purdie <richard.purdie at linuxfoundation.org>
> >> Cc: Denys Dmytriyenko <denis at denix.org>
> > 
> > Acked-by: Denys Dmytriyenko <denis at denix.org>
> 
> Thanks!
> 
> btw. given the layout of the u-boot package after this, updating is a
> matter of mv+sed combo :)
> 
> >> ---
> >>  meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc | 2 --
> >>  1 file changed, 2 deletions(-)
> >>
> >> diff --git a/meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc b/meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc
> >> index 0a90621..a535df1 100644
> >> --- a/meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc
> >> +++ b/meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc
> >> @@ -9,8 +9,6 @@ LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
> >>  # repo during parse
> >>  SRCREV = "f3363c060497515ca8b71451cb56f3ec0abacaa9"
> >>  
> >> -PV = "v2016.09.01"
> >> -
> >>  SRC_URI = "git://git.denx.de/u-boot.git;branch=u-boot-2016.09.y"
> 
> And once 2016.11 is out, I believe I can even drop the ;branch= bit here.
> 
> >>  S = "${WORKDIR}/git"
> >> -- 
> >> 2.9.3
> >>
> 
> 
> -- 
> Best regards,
> Marek Vasut
> 



More information about the Openembedded-core mailing list