________________________________ De : Mark Hatle <mark.ha...@windriver.com> Envoyé : lundi 10 octobre 2016 15:58 À : Karim ATIKI; yocto Objet : Re: [yocto] [bitbake] Issue with SVN fetcher options
On 10/10/16 3:47 PM, Karim ATIKI wrote: > OK. > > > I found out the solution. > > > Actually, I noticed in the log file "log.do_fetch()" that the SVN command > finishes with the "module" name as the output directory. > > I took a look to bitbake sourcecode and realized that the parameter I was > looking for in the SRC_URI was "path_spec". > > > ThereforeI changed the SRC_URI with: > > > > SRC_URI = > "svn://${PGA_SVN_USERNAME}:${PGA_SVN_PASSWORD}@our-server:22037/svn-atonce/subproject/;module=trunk;protocol=http;path_spec=subproject" > > And everything works fine. > Please note that there are no mentions of "path_spec" in the the BitBake > manual > nor Yocto MegaManual. > > I just wonder if there's a reason for that. Anyway, it solved my problem. > > Cheers. > > Karim > > > -------------------------------------------------------------------------------- > *De :* yocto-boun...@yoctoproject.org <yocto-boun...@yoctoproject.org> de la > part de Karim ATIKI <karim_at...@hotmail.com> > *Envoyé :* lundi 10 octobre 2016 15:11 > *À :* yocto > *Objet :* [yocto] [bitbake] Issue with SVN fetcher options > > > Hi all, > > > I'm writing a recipe to build a custom project for an ARM based board > (Colibri T20). > > I need to fetch the different sub-projects from SVN and launch the respective > makefile. > > > However, I'm experiencing a problem with the SVN fetcher of bitbake. > > Indeed, my URI looks like: > > > SRC_URI = > "svn://${PGA_SVN_USERNAME}:${PGA_SVN_PASSWORD}@our-server:22037/svn-atonce/subproject/;module=trunk;protocol=http" > > Basically, it works fine. But the source code is fetched into: > > *../downloads/svn/our-server:22037/svn-atonce/subproject/trunk* > > > And I need it to be checked out into a local directory as follow: > > > *../downloads/svn/our-server:22037/svn-atonce/subproject/* > > I haven'nt found yet an option for the SVN fetcher to specify a local > directory > for the check-out. > > Is there an option that I haven'nt found in the BitBake manual ? > >If this fixes your issues, and is not anywhere in the manual. I'd suggest >opening a bug on the docs in the bugzilla so it can be updated. > >(bugzilla.yoctoproject.org -- selection documentation) > >--Mark Done. https://bugzilla.yoctoproject.org/show_bug.cgi?id=10405
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto