[poky] Crazy versioning

Martin Jansa martin.jansa at gmail.com
Tue Sep 27 06:07:45 PDT 2011


On Tue, Sep 27, 2011 at 07:00:55AM -0600, Gary Thomas wrote:
> I'm trying to use the recipe meta/recipes-bsp/u-boot/u-boot_2011.06.bb
> Since there are a number of u-boot recipes, I want to make sure I get
> the right one, plus I'm writing a .bbappend file to add patches for
> my own boards.
> 
> So I added this to my MACHINE.conf:
>    PREFERRED_VERSION_u-boot = "2011.06"
> 
> When I try to build, I get this error:
>    NOTE: preferred version 2011.06 of u-boot not available (for item u-boot)
>    NOTE: versions of u-boot available: git v2011.06+git16+b1af6f532e0d348b153d5c148369229d24af361a
> I guess this is because the recipe has this for PV
>    SRCREV = "b1af6f532e0d348b153d5c148369229d24af361a"
>    PV = "v2011.06+git${SRCPV}"
> The truly bizarre thing is that if my cache is rebuilt, the version printed changes, e.g.
>    % touch conf/local.conf
>    % bitbake u-boot
>    NOTE: versions of u-boot available: git v2011.06+git18+b1af6f532e0d348b153d5c148369229d24af361a
> 
> So, how do I specify the right value in PREFERRED_VERSION?

with % as wildchar

PREFERRED_VERSION_u-boot = "v2011.06%"

> 
> -- 
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20110927/5f5d2643/attachment.pgp>


More information about the poky mailing list