On Monday 16 September 2013 23:16:51 Khem Raj wrote: > On Sep 16, 2013, at 10:54 PM, Rohit2 Jindal <rohit2.jin...@aricent.com> > wrote: > > Please suggest me the way to git clone from two repos parallel in the same > > recipe Is possible in yocto .If yes how to do that. Eg > > SRC_URI = > > "git://ep-code.xyz.com/sysconfig.git;branch=xxx-ep-20130823-3.0-alpha;pro > > tocol=ssh SRC_URI = > > "git://ep-code.xyz.com/xload.git;branch=xxx-ep-20130823-3.0-alpha;protoco > > l=ssh When I tries to do this it unpacks the source downloaded to > > WORKDIR/git so overwrites the first unpack with the other. So please > > suggest me the way that two download two repos in same recipes with their > > detstined cloned folder changed to folder with my required naming > > convention instead of generic git name folder in workdir. > > you could try using 'subpath' param to git fetcher. > > try something like > > SRC_URI = > "git://ep-code.xyz.com/sysconfig.git;branch=xxx-ep-20130823-3.0-alpha;proto > col=ssh;subpath=git1" SRC_URI = > "git://ep-code.xyz.com/xload.git;branch=xxx-ep-20130823-3.0-alpha;protocol= > ssh;subpath=git2" > > and see if that helps
"subpath" isn't the right thing here; that will also copy only a subdirectory out of the git repository instead of the root. "destsuffix" is what you should set if you want to use something other than "git" Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto