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

Harvey Chapman hchapman-oecore at 3gfp.com
Sun Jan 27 23:27:22 UTC 2013


On Jan 27, 2013, at 6:12 PM, "Robert P. J. Day" <rpjday at crashcourse.ca> wrote:

> On Sun, 27 Jan 2013, Harvey Chapman wrote:
> 
>> On Jan 27, 2013, at 4:26 PM, "Robert P. J. Day" <rpjday at crashcourse.ca> wrote:
>> 
>>> 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
>> 
>> Something like this:
>> 
>> SRC_URI = "git:///home/hchapman/kernel.git;branch=omap-3.5;protocol=file"
> 
>  that's exactly what i tried, and i still had a fetcher failure.
> i'll test it again later.

Try running the failing command from the fetch log yourself. Also, look at bitbake/lib/bb/fetch2/git.py. It might just be "fetch" without the "2" depending on your bitbake version.





More information about the Openembedded-core mailing list