Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] mirrors.bbclass: Add mirror site
@ 2014-04-25  0:46 Changhyeok Bae
  2014-04-25  1:20 ` Martin Jansa
  0 siblings, 1 reply; 2+ messages in thread
From: Changhyeok Bae @ 2014-04-25  0:46 UTC (permalink / raw)
  To: openembedded-core

* 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@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 \
 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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mirrors.bbclass: Add mirror site
  2014-04-25  0:46 [PATCH] mirrors.bbclass: Add mirror site Changhyeok Bae
@ 2014-04-25  1:20 ` Martin Jansa
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2014-04-25  1:20 UTC (permalink / raw)
  To: Changhyeok Bae; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2000 bytes --]

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@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-25  1:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-25  0:46 [PATCH] mirrors.bbclass: Add mirror site Changhyeok Bae
2014-04-25  1:20 ` Martin Jansa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox