All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Paul Barker <paul@paulbarker.me.uk>
Cc: Yocto discussion list <yocto@yoctoproject.org>
Subject: Re: Recipe naming
Date: Sat, 3 Aug 2013 13:17:42 +0200	[thread overview]
Message-ID: <20130803111742.GX3280@jama> (raw)
In-Reply-To: <CANyK_8dfwsyoSd0eKncA59UbNFm_nUov6nOBs-kzqXUKO4wwFw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1417 bytes --]

On Sat, Aug 03, 2013 at 12:07:41PM +0100, Paul Barker wrote:
> On 3 August 2013 11:52, Paul Barker <paul@paulbarker.me.uk> wrote:
> > Should I call this:
> >
> >     "opkg_testing.bb"
> >     set PREFERRED_VERSION_opkg = "testing" to use
> >
> 
> Martin has just commented elsewhere that having this recipe in a meta-opkg layer
> will always override the recipe in oe-core:
> 
> > You probably know about this already, but for other possible users of this
> > layer:
> >
> > bitbake will always select "devel" version from meta-opkg layer if it has
> > higher BBFILE_PRIORITY even if you put negative DEFAULT_PREFERRENCE into
> > "devel" recipes. Only if you put lower-than-oe-core BBFILE_PRIORITY in
> > layer.conf then it will force user to select "devel" version by
> > PREFERRED_VERSION.
> 
> So maybe opkg-testing_{version} would work better.

opkg-testing with PROVIDES = "opkg" won't work well for runtime dependencies
(even if you add RPROVIDES unless something will explicitly pull
opkg-testing into the image - VIRTUAL-RUNTIME vars...)

I would name the recipe opkg_git.bb with PV corresponding to real
version based on SRCREV e.g. "1.9+git${SRCPV}".

with
BBFILE_PRIORITY = "4"
and
PREFERRED_VERSION_opkg = "1.9+git%"
it should work as expected

This should be discussed on oe-core ML rather then yocto ML.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

  reply	other threads:[~2013-08-03 11:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-03 10:52 Recipe naming Paul Barker
2013-08-03 11:07 ` Paul Barker
2013-08-03 11:17   ` Martin Jansa [this message]
2013-08-03 11:43     ` Paul Barker

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=20130803111742.GX3280@jama \
    --to=martin.jansa@gmail.com \
    --cc=paul@paulbarker.me.uk \
    --cc=yocto@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.