Create ${CPAN_MIRROR} option
cover Create ${CPAN_MIRROR} option
From: Tim Orling <[email protected]>
* Perl modules are beginning to fail to fetch
* Default CPAN site seems to be flaky lately
* Add option to mirrors.bbclass to use metacpan.org
* Continue to use main CPAN site as default in bitbake.conf
Tim Orling (2):
mirrors.bbclass: add ${CPAN_MIRROR} option
bitbake.conf: add default ${CPAN_MIRROR}
meta/classes/mirrors.bbclass | 2 ++ meta/conf/bitbake.conf | 1 + 2 files changed, 3 insertions(+)
Signature · 1 line
1.8.3.2
PATCH 1/2 mirrors.bbclass: add ${CPAN_MIRROR} option
From: Tim Orling <[email protected]>
* Perl modules fail to fetch because default CPAN site has been flaky lately.
* Create option to use metacpan.org as a mirror.
Signed-off-by Tim Orling <[email protected]>
--- meta/classes/mirrors.bbclass | 2 ++ 1 file changed, 2 insertions(+)
meta/classes/mirrors.bbclass +2 -0
@@ -67,4 +67,6 @@ p4://.*/.* http://sources.openembedded.org/ \n \ osc://.*/.* http://sources.openembedded.org/ \n \ https?$://.*/.* http://sources.openembedded.org/ \n \ ftp://.*/.* http://sources.openembedded.org/ \n \ +${CPAN_MIRROR} http://cpan.metacpan.org/ \n \ +${CPAN_MIRROR} http://search.cpan.org/CPAN/ \n \ "
Signature · 1 line
1.8.3.2
PATCH 2/2 bitbake.conf: add default ${CPAN_MIRROR}
In reply to Tim OrlingFrom: Tim Orling <[email protected]>
* Set default to http://search.cpan.org/CPAN/, as it should be
Signed-off-by Tim Orling <[email protected]>
--- meta/conf/bitbake.conf | 1 + 1 file changed, 1 insertion(+)
meta/conf/bitbake.conf +1 -0
@@ -570,6 +570,7 @@ XLIBS_MIRROR = "http://xlibs.freedesktop.org/release" XORG_MIRROR = "http://xorg.freedesktop.org/releases" SAVANNAH_GNU_MIRROR = "http://download.savannah.gnu.org/releases" SAVANNAH_NONGNU_MIRROR = "http://download.savannah.nongnu.org/releases" +CPAN_MIRROR = "http://search.cpan.org/CPAN" # You can use the mirror of your country to get faster downloads by putting # export DEBIAN_MIRROR = "ftp://ftp.de.debian.org/debian/pool"
Signature · 1 line
1.8.3.2