From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-iw0-f175.google.com ([209.85.214.175]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1QWslk-0007rr-Ja for openembedded-core@lists.openembedded.org; Wed, 15 Jun 2011 18:16:40 +0200 Received: by iwn19 with SMTP id 19so447838iwn.6 for ; Wed, 15 Jun 2011 09:13:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=+dMhENlHBjTzswze9XSr7dp89+UM669jFnCZEw0qPvo=; b=s1NEolaIx4zRvDxikn7YAUOkslvXAiikqzD5ycoVuJz23Ez1Uct9neFRj3mZgpKOML yFSKlupCgv5zP1N2gPyW9lpXqiL28XZV1ImyrRP0xAWaa0tyiWFVR9iTsY7JaDE7pbyh imlgOEvTk/ECgfFlx8sD449JmgzUFqz28E4qY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=OhEOXImSB9UC1TXl/W8rD4EWrAPzLCQDs/9ViB4cdCQab96vs6aLcE/C/YZe4cy2hP A/3FwCWfe5pNsMNU2bvdddt7Hb8HmiyzTB7J23wEueat2RfoopbKCmdVn2lgLrWS2bst PxgCSnEQN0E4OBmc2FZ2wPGOj1oT5XTz6ks8E= Received: by 10.231.119.105 with SMTP id y41mr607622ibq.27.1308154391964; Wed, 15 Jun 2011 09:13:11 -0700 (PDT) Received: from [192.168.1.70] (99-57-141-118.lightspeed.sntcca.sbcglobal.net [99.57.141.118]) by mx.google.com with ESMTPS id 10sm298889ibn.37.2011.06.15.09.13.10 (version=SSLv3 cipher=OTHER); Wed, 15 Jun 2011 09:13:11 -0700 (PDT) Message-ID: <4DF8DA15.8060500@gmail.com> Date: Wed, 15 Jun 2011 09:13:09 -0700 From: Khem Raj User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110516 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: openembedded-core@lists.openembedded.org References: <4DF8D848.9000605@linux.intel.com> In-Reply-To: <4DF8D848.9000605@linux.intel.com> Subject: Re: [RFC] DISTRO_MIRRORS / DISTRO_PREMIRRORS X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2011 16:16:40 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 06/15/2011 09:05 AM, Saul Wold wrote: > > Folks, > > Recently we have seen a number of fetch failures, due to upstream sites > being down or deprecated (tinylogin, pscmic and others). > > The issue is that oe-core as a non-distro does not have a default set of > mirrors, which causes the fetcher to fail as there is no fall-back > mirror to distrubte the source code. > > As has been pointed out, different projects and distributions (Yocto > Project and Angstrom) both have upstream source mirrors which could be > used. Currently the Yocto Project defines it's MIRRORS and PREMIRRORS in > meta-yocto/conf/distro/poky.conf. > > I propose that we add a list of DISTO_MIRRORS and DISTRO_PREMIRRORS with > default settings pointing to the current autobuilder.yoctoproject.org > source site. These would be added to the mirrors.bbclass, so that > oe-core will have a default set of mirrors that can be overridden by a > distro or layer. > > diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass > index 2146087..a52c6d5 100644 > --- a/meta/classes/mirrors.bbclass > +++ b/meta/classes/mirrors.bbclass > @@ -1,4 +1,22 @@ > +DISTRO_PREMIRRORS ?= "\ > +bzr://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ > +cvs://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ > +git://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ > +hg://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ > +osc://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ > +p4://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ > +svk://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ > +svn://.*/.* http://autobuilder.yoctoproject.org/sources/ \n" > + > +PREMIRRORS += "${DISTRO_PREMIRRORS}" > + > +DISTRO_MIRRORS ?= "\ > +ftp://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ > +http://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ > +https://.*/.* http://autobuilder.yoctoproject.org/sources/ \n" > + > MIRRORS += "\ > +${DISTRO_MIRRORS} \ > ${DEBIAN_MIRROR}/main http://snapshot.debian.net/archive/pool \n \ > ${DEBIAN_MIRROR} ftp://ftp.de.debian.org/debian/pool \n \ > ${DEBIAN_MIRROR} ftp://ftp.au.debian.org/debian/pool \n \ > > Thoughts, ACKs, NAKs?? > FWIW http://mirrors.openembedded.org/ also exists. > > -- > Sau! > > Saul Wold > Yocto Component Wrangler @ Intel > Yocto Project / Poky Build System > > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core