Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Changhyeok Bae <changhyeok.bae@lge.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] mirrors.bbclass: Add mirror site
Date: Fri, 25 Apr 2014 03:20:53 +0200	[thread overview]
Message-ID: <20140425012053.GO2486@jama> (raw)
In-Reply-To: <1398386806-12058-1-git-send-email-changhyeok.bae@lge.com>

[-- 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 --]

      reply	other threads:[~2014-04-25  1:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-25  0:46 [PATCH] mirrors.bbclass: Add mirror site Changhyeok Bae
2014-04-25  1:20 ` Martin Jansa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140425012053.GO2486@jama \
    --to=martin.jansa@gmail.com \
    --cc=changhyeok.bae@lge.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox