On Wed, Dec 15, 2010 at 9:43 AM, Andreas Oberritter <[email protected]> wrote: > On 12/15/2010 05:35 PM, Chris Larson wrote: >> On Tue, Dec 14, 2010 at 10:11 AM, Khem Raj <[email protected]> wrote: >>>> Note that if you use a mirror site with the SVN checkout archive in it, you >>>> won't try and do the fetch at all. This may or may not be applicable to >>>> your case. For your case I think what we really want is a way to globally >>>> toggle the svn protocol argument. >>> >>> yes that would be something more useful. I guess we could add it to >>> all SCM fetching recipes. >> >> I wonder if the PREMIRRORS/MIRRORS handling is smart enough to let us >> use its regex for the components to replace protocol= in the url >> parameters. > > This won't suffice, because svn may have different URLs for svn and > http, like in the discussed patch (branches vs. svn/branches): > > -SRC_URI = > "svn://svn.eglibc.org/branches;module=${EGLIBC_BRANCH};proto=svn > > \ > +SRC_URI = > "svn://svn.eglibc.org/svn/branches;module=${EGLIBC_BRANCH};proto=http > > \
And of course, changes to the url can also be done via PREMIRRORS. You'd just have the first one a specific entry to redirect eglibc, and the second a fallback for non-specific. Of course, there's nothing wrong with using bbappend/amend.inc for this, just another possibility. -- Christopher Larson clarson at kergoth dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
