All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carlos Rafael Giani <dv@pseudoterminal.org>
To: openembedded-devel@lists.openembedded.org
Subject: Question about multiple recipe versions for the same package
Date: Fri, 26 Apr 2013 23:25:27 +0200	[thread overview]
Message-ID: <517AF0C7.2060201@pseudoterminal.org> (raw)

Hello,

if I have a package foo, I wrote a recipe for foo release 1.0 , and 
another for building directly from its git repository
(in other terms, there are two .bb files, foo_1.0.bb and foo_git.bb ),
which one is preferred? I would like for the 1.0 one to be used by default.

And if 1.0 is preferred, how can I explicitely select the git version? 
Is adding this line to local.conf:
   PREFERRED_VERSION_foo = "git"

correct? It would be nice if "git" were enough, instead of something 
like "1.0+gitr${SRCREV}" .

cheers



             reply	other threads:[~2013-04-26 21:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-26 21:25 Carlos Rafael Giani [this message]
2013-04-26 21:28 ` Question about multiple recipe versions for the same package Martin Jansa

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=517AF0C7.2060201@pseudoterminal.org \
    --to=dv@pseudoterminal.org \
    --cc=openembedded-devel@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 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.