Hi,

Can anyone recommend a method of fetching from a local git repository
in Bitbake?  I have a recipe that works nicely with code I've uploaded
to a public git repository. I have some changes in my local version of
the repository that are not ready to be pushed to the public
repository but I'd like to build the code with bitbake to test drive
it.

Normally:
SRCREV = "master"
SRC_URI = "git://github.com/ashcharles/Transport-Test.git;protocol=git"

Things I've tried:
- setting SRC_URI =
"git:///home/ash/Programs/Transport/.git;protocol=git"  ---> bitbake
parse error despite the fact that git clone
/home/ash/Programs/Transport/.git works just fine.
- setting SRC_URI = "file:///home/ash/Programs/Transport/" ---> grabs
all the files (rather than just the git ones) and puts them in WORKDIR
rather than unpacking them to WORKDIR/git

If possible, I'd like to keep the directory structure the same i.e.
source in WORKDIR/git so I can fetch from local just by commenting one
line.

Thanks and I apologize if this is the wrong list to which to send this question.

Ash
_______________________________________________
Bitbake-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bitbake-dev

Reply via email to