[poky] PREFERRED_VERSION confusion
Gary Thomas
gary at mlbassoc.com
Thu Mar 24 09:40:13 PDT 2011
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
------------------------------------------------------------
More information about the poky
mailing list