Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: Howto pin u-boot to a version supplied by oe-core
Date: Wed, 03 Aug 2011 18:34:17 -0700	[thread overview]
Message-ID: <1808891.sPgEKESHSy@perseus> (raw)
In-Reply-To: <201108040011.52049.schnitzeltony@gmx.de>

On Thursday, August 04, 2011 12:11:51 AM Andreas Mueller wrote:
> Hi,
> 
> for gumstix overo I am in the lucky situation that vanilla u-boot v2011.03 (
> and maybe later version too ) meets my needs.
> 
> My current approach (in angstrom environment) was quick but poor: I simply
> copied here and there without reusing anything [1].
> 
> To improve I checked u-boot_2011.03 shipped by oe-core and think that one
> exactly builds what I need - without bbappend.
> 
> So I tried in overo.conf to pin by "PREFERRED_VERSION_u-boot=":
> 
> 1. "2011.03"
> 2. "v2011.03"
> 3. "v2011.03+git19b54a701811220221fc4d5089a2bb18892018ca"
> 4. "v2011.03+git7+19b54a701811220221fc4d5089a2bb18892018ca"
> 
> got messages like
> NOTE: preferred version 2011.03 of u-boot not available (for item u-boot)
> NOTE: versions of u-boot available: git
> v2011.03+git7+19b54a701811220221fc4d5089a2bb18892018ca
> v2011.06+git7+b1af6f532e0d348b153d5c148369229d24af361a
> NOTE: Resolving any missing task queue dependencies
> NOTE: preferred version 2011.03 of u-boot not available (for item u-boot)
> NOTE: versions of u-boot available: git
> v2011.03+git7+19b54a701811220221fc4d5089a2bb18892018ca
> v2011.06+git7+b1af6f532e0d348b153d5c148369229d24af361a
> NOTE: preferred version 2011.03 of u-boot not available (for item
> u-boot-dev) NOTE: versions of u-boot available: git
> v2011.03+git7+19b54a701811220221fc4d5089a2bb18892018ca
> v2011.06+git7+b1af6f532e0d348b153d5c148369229d24af361a
> 
> and builds of
> meta-texasinstruments/recipes-bsp/u-boot/u-boot_git.bb
> 
> 
> How can I get the desired oe-core u-boot recipe pinned to reduce code
> redundancies?

there is one u-boot recipe u-boot_2011.06.bb which is in both meta-ti
and oe-core layers but otherwise they have different versions

in anycase what you need to lock is PV and the recipes in oe-core has 

u-boot_2011.03.bb:PV = "v2011.03+git${SRCPV}"
u-boot_2011.06.bb:PV = "v2011.06+git${SRCPV}"

So what you need is 

PREFERRED_VERSION_pn-u-boot = "v2011.03+git%"

-Khem




  reply	other threads:[~2011-08-04  1:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-03 22:11 Howto pin u-boot to a version supplied by oe-core Andreas Mueller
2011-08-04  1:34 ` Khem Raj [this message]
2011-08-04 21:23   ` Andreas Mueller
2011-08-05 13:53   ` Paul Eggleton

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=1808891.sPgEKESHSy@perseus \
    --to=raj.khem@gmail.com \
    --cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox