All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Poky Project <poky@yoctoproject.org>
Subject: Crazy versioning
Date: Tue, 27 Sep 2011 07:00:55 -0600	[thread overview]
Message-ID: <4E81C907.8080407@mlbassoc.com> (raw)

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?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


             reply	other threads:[~2011-09-27 13:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-27 13:00 Gary Thomas [this message]
2011-09-27 13:07 ` Crazy versioning Bruce Ashfield
2011-09-27 13:07 ` Martin Jansa
2011-09-27 13:11 ` Richard Purdie
2011-09-27 13:19   ` Gary Thomas
2011-09-27 14:19     ` Paul Eggleton
2011-09-27 14:23       ` Gary Thomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E81C907.8080407@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=poky@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.