summaryrefslogtreecommitdiff
path: root/meta/classes/mirrors.bbclass
diff options
context:
space:
mode:
authorTim Orling <TicoTimo@gmail.com>2014-05-20 21:47:28 -0700
committerSaul Wold <sgw@linux.intel.com>2014-05-23 10:45:07 -0700
commitffca381d9ad5de3e593c93274cfdb3d2ff4a447f (patch)
tree95ee984759947589ac7ec1dbd5ca1bff4a21ef0e /meta/classes/mirrors.bbclass
parent8ae89d08454c11035eb2826a06e2243c9f2568b4 (diff)
downloadopenembedded-core-ffca381d9ad5de3e593c93274cfdb3d2ff4a447f.tar.gz
openembedded-core-ffca381d9ad5de3e593c93274cfdb3d2ff4a447f.tar.bz2
openembedded-core-ffca381d9ad5de3e593c93274cfdb3d2ff4a447f.zip
mirrors.bbclass: add ${CPAN_MIRROR} option
* 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 <TicoTimo@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/mirrors.bbclass')
-rw-r--r--meta/classes/mirrors.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass
index 90fb1e025b..0d9b5174fb 100644
--- a/meta/classes/mirrors.bbclass
+++ b/meta/classes/mirrors.bbclass
@@ -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 \
"