From: Gary Thomas <gary@mlbassoc.com>
To: Poky <poky@lists.pokylinux.org>
Subject: PREFERRED_VERSION confusion
Date: Thu, 24 Mar 2011 10:40:13 -0600 [thread overview]
Message-ID: <4D8B73ED.1090305@mlbassoc.com> (raw)
I'm having trouble selecting between different versions of a package
(in this case virtual/kernel). I have these recipes
.../linux/linux-am_2.6.31.bb
.../linux/linux-am_2.6.32.bb
.../linux/linux-am_2.6.37.bb
with some associated patch files for various platforms I'm building.
In my DISTRO.conf, I have this:
PREFERRED_PROVIDER_virtual/kernel = "linux-am"
which indeed selects from my set of kernel recipes. However, I
can't seem to get it to be able to build from one of the older
recipes - it always chooses the 2.6.37 version which causes much
confusion (some of my targets have only been ported to older kernels)
In MACHINE.conf, I have this line
PREFERRED_VERSION_linux-am = "2.6.31"
I get warnings such as
NOTE: preferred version 2.6.31 of linux-am not available (for item virtual/kernel)
NOTE: preferred version 2.6.31 of linux-am not available (for item kernel-image)
NOTE: preferred version 2.6.31 of linux-am not available (for item kernel-base)
Why? Also, it falls apart like this (my actual machine is called mx25p80 and there
is only a patch for the 2.6.31 version .../linux/linux-am-2.6.31/mx25p80/mx25p80.patch:
NOTE: Running task 657 of 829 (ID: 4, /home/local/poky-amltd/meta-amltd/packages/linux/linux-am_2.6.31.bb, do_fetch)
ERROR: Function 'Fetcher failure for URL: 'file://mx25p80.patch'. Unable to fetch URL file://mx25p80.patch from any source.' failed
ERROR: Logfile of failure stored in: /home/local/mx25_poky/tmp/work/mx25p80-poky-linux-gnueabi/linux-am-2.6.37-r0/temp/log.do_fetch.6646
Notice that even though it's executing linux-am_2.6.31.bb, it's looking in linux-am-2.6.37!!
What am I missing? How do I get it to select only the 2.6.31 version?
Thanks
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
next reply other threads:[~2011-03-24 16:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-24 16:40 Gary Thomas [this message]
2011-03-24 17:07 ` PREFERRED_VERSION confusion 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=4D8B73ED.1090305@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=poky@lists.pokylinux.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.