From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from hermes.mlbassoc.com ([64.234.241.98] helo=mail.chez-thomas.org) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1Pynnj-0003wX-MX for openembedded-core@lists.openembedded.org; Sun, 13 Mar 2011 17:05:51 +0100 Received: by mail.chez-thomas.org (Postfix, from userid 999) id 4517D166027D; Sun, 13 Mar 2011 09:57:00 -0600 (MDT) X-Spam-Checker-Version: SpamAssassin 3.3.2-r929478 (2010-03-31) on hermes.chez-thomas.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.3.2-r929478 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by mail.chez-thomas.org (Postfix) with ESMTP id 03FAF1660271; Sun, 13 Mar 2011 09:56:59 -0600 (MDT) Message-ID: <4D7CE94A.5080706@mlbassoc.com> Date: Sun, 13 Mar 2011 09:56:58 -0600 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc13 Thunderbird/3.1.7 MIME-Version: 1.0 To: Patches and discussions about the oe-core layer References: In-Reply-To: Cc: Frans Meulenbroeks , Denys Dmytriyenko Subject: Re: [PATCH 0/1] Import own-mirrors class from OE 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: Sun, 13 Mar 2011 16:05:51 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 03/12/2011 08:04 AM, Khem Raj wrote: > Hi Richard > > > > Pull URL: git://git.openembedded.org/openembedded-core-contrib.git > Branch: kraj/own-mirror > Browse: http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/own-mirror > > Thanks, > Khem Raj > --- > > > Khem Raj (1): > own-mirrors.bbclass: Bring own-mirrors.bbclass from oe commit > 0ef914b250df46a41348479446214575668943fb > > meta/classes/own-mirrors.bbclass | 12 ++++++++++++ > 1 files changed, 12 insertions(+), 0 deletions(-) > create mode 100644 meta/classes/own-mirrors.bbclass > Poky/Yocto already has a mechanism for this by overriding PREMIRRORS I would think sticking with one extension method would be better. Here's what I have in my [Poky] DISTRO.conf: SOURCE_DIR ?= "/opt/poky/sources" PREMIRRORS = "\ http://.*/.* file://${SOURCE_DIR}/ \n \ https://.*/.* file://${SOURCE_DIR}/ \n \ ftp://.*/.* file://${SOURCE_DIR}/ \n \ bzr://.*/.* file://${SOURCE_DIR}/ \n \ cvs://.*/.* file://${SOURCE_DIR}/ \n \ git://.*/.* file://${SOURCE_DIR}/ \n \ hg://.*/.* file://${SOURCE_DIR}/ \n \ osc://.*/.* file://${SOURCE_DIR}/ \n \ p4://.*/.* file://${SOURCE_DIR}/ \n \ svk://.*/.* file://${SOURCE_DIR}/ \n \ svn://.*/.* file://${SOURCE_DIR}/ \n" Users can have their own mirror by defining SOURCE_DIR in local.conf -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------