[oe-users] PREFERRED_VERISON question

David Baird dhbaird at gmail.com
Wed Dec 5 22:34:15 UTC 2007


Hi,

I think I need some help with how to use PREFERRED_VERISON properly.

Each day that I try to build "bitbake minimal-image," the process
tries to fetch a fresh git tree of the kernel and it takes a very long
time.  Therefore, I am now trying to restrict/lock-down the version of
Linux kernel that gets installed by using the following lines:

    PREFERRED_VERSION_linux-ml403-slab-2.6.x = "2.6+git20071204-r2"

and,

    PREFERRED_VERSION_linux-ml403-slab-2.6.x = "2.6+git20071204"

However, neither of these lines seem to have any effect.  Can someone
suggest how to do this?

Here are other settings in my local.conf file if they may be of use to you:

    MACHINE = "xilinx-ml403"
    # NOTE: angstrom seems to have some FPU conflicts when building
glibc, so using oplinux instead:
    DISTRO = "oplinux"
    TARGET_FPU = "soft" # or TARGET_FPU = "hardfloat"
    XILINX_BSP_PATH = "/home/dbaird/edk_project"

Also, here are some of the lines from linux-ml403-slab-2.6.x_git.bb
which I thought might be relevant:

    DESCRIPTION = "Linux kernel for Xilinx ML403 Virtex 4 fpga board"
    LICENSE = "GPL"
    PR = "r2"
    PV = "2.6+git${SRCDATE}"

    do_fetch () {

            cd ${WORKDIR}
            ${STAGING_BINDIR_NATIVE}/git clone
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
            cd linux-2.6
            ${STAGING_BINDIR_NATIVE}/git clone
git://git.secretlab.ca/git/linux-2.6-virtex.git  master
    }

Thanks,
David




More information about the Openembedded-users mailing list