[OE-core] how to tweak a kernel recipe file to point at a local git repo?

Robert P. J. Day rpjday at crashcourse.ca
Sun Jan 27 21:26:59 UTC 2013


  i *thought* i had this figured out but something's not working quite
right today.

  trying a build that involves the meta-ti layer (although that
shouldn't be relevant), and here's the salient part of the recipe file
linux-omapl138-psp_2.6.37.bb:

===== snip =====
BRANCH = "03.21.00.03"
SRCREV = "v2.6.37_DAVINCIPSP_03.21.00.04"

COMPATIBLE_MACHINE = "(omapl138)"

SRC_URI += "git://arago-project.org/git/projects/linux-davinci.git;protocol=git;branch=${BRANCH} \
        file://defconfig"
===== snip =====

  now i already *have* that repo cloned on my local hard drive, so
what would i change in the recipe file (just temporarily) to point the
fetcher there?  i would only need to do that once since i've set up my
builds to automatically build tarballs from all fetches so, once i
clone that repo once, all subsequent builds would use the tarball in
my "own mirror" directory.

  first, i set up a tracking branch in that local clone for the branch
"03.21.00.03".  so what's left to change in the SRC_URI?  thanks.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the Openembedded-core mailing list