[OE-core] [PATCH] mirrors.bbclass: Add mirror site
Martin Jansa
martin.jansa at gmail.com
Fri Apr 25 01:20:53 UTC 2014
On Fri, Apr 25, 2014 at 09:46:46AM +0900, Changhyeok Bae wrote:
> * The SRC_URI is not accessible.
> So need to add mirror site referred by the original site.
> * The problem is that
> http://download.savannah.nongnu.org/releases and
> http://download.savannah.gnu.org/releases redirects to closest mirror
> and few mirrors (e.g. .jp) weren't working correctly while
> http://download-mirror.savannah.gnu.org/releases/ seems to be reliable.
>
> Signed-off-by: Changhyeok Bae <changhyeok.bae at lge.com>
> ---
> meta/classes/mirrors.bbclass | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass
> index 1fd7cd8..a632032 100644
> --- a/meta/classes/mirrors.bbclass
> +++ b/meta/classes/mirrors.bbclass
> @@ -45,6 +45,8 @@ ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://sunsite.ualberta.ca/pub/M
> ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://the.wiretapped.net/pub/security/host-security/lsof/ \n \
> http://www.apache.org/dist http://archive.apache.org/dist \n \
> http://downloads.sourceforge.net/watchdog/ http://fossies.org/linux/misc/ \n \
> +http://download.savannah.nongnu.org/releases/ http://download-mirror.savannah.gnu.org/releases/ \n \
> +http://download.savannah.gnu.org/releases/ http://download-mirror.savannah.gnu.org/releases/ \n \
It would be better to add variable for this url first and then use the
variable here as well as in recipes.
> cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
> svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
> git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
> --
> 1.7.9.5
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140425/3ca320ca/attachment-0002.sig>
More information about the Openembedded-core
mailing list