diff options
author | Tim Orling <TicoTimo@gmail.com> | 2014-05-20 21:47:28 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-27 16:11:53 +0100 |
commit | 5b8dbfdd6076ff1304924ad400aafdee75d43c10 (patch) | |
tree | d17efff13dc19bedeff97033199cb5e0e3982a77 | |
parent | 45bbe3528ed932558fb3c57cf638b9994777c9ce (diff) | |
download | poky-5b8dbfdd6076ff1304924ad400aafdee75d43c10.tar.gz |
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.
(From OE-Core rev: ffca381d9ad5de3e593c93274cfdb3d2ff4a447f)
Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/mirrors.bbclass | 2 |
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 \ | |||
67 | osc://.*/.* http://sources.openembedded.org/ \n \ | 67 | osc://.*/.* http://sources.openembedded.org/ \n \ |
68 | https?$://.*/.* http://sources.openembedded.org/ \n \ | 68 | https?$://.*/.* http://sources.openembedded.org/ \n \ |
69 | ftp://.*/.* http://sources.openembedded.org/ \n \ | 69 | ftp://.*/.* http://sources.openembedded.org/ \n \ |
70 | ${CPAN_MIRROR} http://cpan.metacpan.org/ \n \ | ||
71 | ${CPAN_MIRROR} http://search.cpan.org/CPAN/ \n \ | ||
70 | " | 72 | " |