[oe] [meta-oe][PATCH 1/3] fim: Add mirror site

Martin Jansa martin.jansa at gmail.com
Thu Apr 24 00:00:42 UTC 2014


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 at lists.openembedded.org
> [mailto:openembedded-devel-bounces at lists.openembedded.org] On Behalf Of
> Martin Jansa
> Sent: Wednesday, April 23, 2014 11:45 PM
> To: openembedded-devel at 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 at 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 at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> 
> -- 
> Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
> 

-- 
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-devel/attachments/20140424/5379e7e2/attachment-0002.sig>


More information about the Openembedded-devel mailing list