All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Changhyeok Bae <changhyeok.bae@lge.com>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH 1/3] fim: Add mirror site
Date: Thu, 24 Apr 2014 02:00:42 +0200	[thread overview]
Message-ID: <20140424000042.GM2486@jama> (raw)
In-Reply-To: <007601cf5f4e$fe3b4a20$fab1de60$@lge.com>

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

On Thu, Apr 24, 2014 at 08:51:49AM +0900, Changhyeok Bae wrote:
> Hi,
> 
> I agree with your opinion.
> However there is no mirror classes in meta-oe.
> Is it fine to add the mirror site to oe-core/meta/classes/mirrors.bbclass?

Yes, sorry I wasn't clear, that's where I think the variables should be
introduced (bitbake.conf) and mirrors added (mirrors.bbclass), then you
would need 1 patch for oe-core and 1 for meta-oe to use these new
variables consistently from SRC_URI.

e.g. http://savannah.nongnu.org/download/dmidecode
seems to be he same as
http://download.savannah.nongnu.org/releases/dmidecode

and releases-noredirect is probably just work around for issues like
this non-working .jp mirror and you should be able to unify them all to
use just 2 variables (gnu and nongnu URL).

> -----Original Message-----
> From: openembedded-devel-bounces@lists.openembedded.org
> [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of
> Martin Jansa
> Sent: Wednesday, April 23, 2014 11:45 PM
> To: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [meta-oe][PATCH 1/3] fim: Add mirror site
> 
> On Wed, Apr 23, 2014 at 08:18:46PM +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 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.
> > 
> 
> at this point I think we should add variable for http://savannah.nongnu.org
> and add this MIRROR setting globally:
> meta/recipes-devtools/dmidecode/dmidecode_2.12.bb:SRC_URI =
> "http://savannah.nongnu.org/download/dmidecode/${BP}.tar.bz2"
> meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb:SRC_URI =
> "http://savannah.nongnu.org/download/${BPN}/${BPN}-${PV}.tar.gz \
> meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_1.1.1.bb:SRC_URI =
> "http://savannah.nongnu.org/download/fluid/${P}.tar.gz"
> meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb:SRC_URI =
> "http://download.savannah.nongnu.org/releases/fbi-improved/${BPN}-${PV}.tar.
> gz \ meta-oe/recipes-support/hddtemp/hddtemp_0.3-beta15.bb:SRC_URI =
> "http://download.savannah.nongnu.org/releases/hddtemp/hddtemp-0.3-beta15.tar
> .bz2 \ meta-oe/recipes-support/libunwind/libunwind.inc:SRC_URI =
> "http://download.savannah.nongnu.org/releases/${BPN}/${BPN}-${PV}.tar.gz"
> 
> we have also couple of recipes referencing gnu.org version:
> meta-networking/recipes-protocols/quagga/quagga.inc:SRC_URI =
> "http://download.savannah.gnu.org/releases/quagga${QUAGGASUBDIR}/quagga-${PV
> }.tar.gz;name=quagga-${PV} \
> meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb:SRC_URI =
> "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \
> meta-oe/recipes-support/lzip/lzip_1.14.bb:SRC_URI =
> "http://download.savannah.gnu.org/releases/lzip/lzip-${PV}.tar.gz"
> meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb:SRC_URI =
> "http://download.savannah.gnu.org/releases-noredirect/sysvinit/sysvinit-${PV
> }.tar.bz2 \ meta/recipes-devtools/quilt/quilt-0.61.inc:SRC_URI =
> "http://download.savannah.gnu.org/releases/quilt/quilt-${PV}.tar.gz \
> meta/recipes-extended/ed/ed_0.5.bb:SRC_URI =
> "http://download.savannah.gnu.org/releases-noredirect/ed/ed-${PV}.tar.bz2"
> meta/recipes-extended/texi2html/texi2html_5.0.bb:SRC_URI     =
> "http://download.savannah.gnu.org/releases/texi2html/${BPN}-${PV}.tar.bz2 \
> meta/recipes-support/attr/acl.inc:SRC_URI =
> "http://download.savannah.gnu.org/releases/acl/${BP}.src.tar.gz \
> meta/recipes-support/attr/attr.inc:SRC_URI =
> "http://download.savannah.gnu.org/releases/attr/${BP}.src.tar.gz \
> 
> > Signed-off-by: Changhyeok Bae <changhyeok.bae@lge.com>
> > ---
> >  meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb |    2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb 
> > b/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb
> > index 6e5000b..c6537ac 100644
> > --- a/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb
> > +++ b/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb
> > @@ -16,6 +16,8 @@ SRC_URI = 
> > "http://download.savannah.nongnu.org/releases/fbi-improved/${BPN}-${PV
> >  SRC_URI[md5sum] = "d7362dde5541c2b6439c35c6e2bd5046"
> >  SRC_URI[sha256sum] =
> "3f6bf2de2952b9adcbeb3db12c2a979e999a81dd1e314a03bc58e24f1ea9f686"
> >  
> > +MIRRORS += "http://download.savannah.nongnu.org/releases/
> http://download-mirror.savannah.gnu.org/releases/ \n"
> > +
> >  PARALLEL_MAKE = ""
> >  
> >  inherit autotools
> > --
> > 1.7.9.5
> > 
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> 
> -- 
> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com
> 

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

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

      reply	other threads:[~2014-04-24  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-23 11:18 [meta-oe][PATCH 1/3] fim: Add mirror site Changhyeok Bae
2014-04-23 11:18 ` [meta-oe][PATCH 2/3] gpsd: " Changhyeok Bae
2014-04-23 14:36   ` Paul Eggleton
2014-04-23 23:45     ` Changhyeok Bae
2014-04-23 11:18 ` [meta-oe][PATCH 3/3] hddtemp: " Changhyeok Bae
2014-04-23 14:45 ` [meta-oe][PATCH 1/3] fim: " Martin Jansa
2014-04-23 23:51   ` Changhyeok Bae
2014-04-24  0:00     ` 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=20140424000042.GM2486@jama \
    --to=martin.jansa@gmail.com \
    --cc=changhyeok.bae@lge.com \
    --cc=openembedded-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.