From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 75F33E011D1 for ; Mon, 12 Mar 2012 08:26:14 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail.windriver.com (8.14.3/8.14.3) with ESMTP id q2CFQD5g024176 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Mon, 12 Mar 2012 08:26:13 -0700 (PDT) Received: from Macintosh-5.local (172.25.36.226) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.1.255.0; Mon, 12 Mar 2012 08:26:13 -0700 Message-ID: <4F5E1594.4010702@windriver.com> Date: Mon, 12 Mar 2012 10:26:12 -0500 From: Mark Hatle Organization: Wind River Systems User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: References: <9F69795E29C890408AC2DAF646C89BB379D1059697@MAILBOX.arc.local>, <4F5A288D.9010900@windriver.com> <9F69795E29C890408AC2DAF646C89BB379D106EC5B@MAILBOX.arc.local> In-Reply-To: <9F69795E29C890408AC2DAF646C89BB379D106EC5B@MAILBOX.arc.local> Subject: Re: How to create a PREMIRROR X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2012 15:26:14 -0000 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 8bit On 3/10/12 4:42 AM, Zoufal Andreas wrote: > Thx Mark, I will try it. One more question: which files are really required for the mirrors? > Only the archives or the "done" files, patch files, patch result files etc? I believe you don't need the done files. I'm not sure about the others. (I didn't remove them in my usage, as they're small enough and they allow me to use the DL_DOWNLOAD to keep the mirror up to date.) --Mark > Andi > > ________________________________________ > From: poky-bounces@yoctoproject.org [poky-bounces@yoctoproject.org] On Behalf Of Mark Hatle [mark.hatle@windriver.com] > Sent: Friday, March 09, 2012 4:58 PM > To: poky@yoctoproject.org > Subject: Re: [poky] How to create a PREMIRROR > > On 3/9/12 9:40 AM, Zoufal Andreas wrote: >> Hello everybody, >> >> I am new here in this mailing list. We are starting to use Yocto/Poky for an >> embedded project, and we have the need to collect all source code in our SVN >> repository for the case internet is not available. I think using PREMIRRORS (and >> SSTATE_MIRRORS for speedup) is the right way? >> >> How to create and maintain a local PREMIRRROR? What is the best practice? I’m >> pretty sure this is not the first time for this question, so can you give me >> some hints for a good documentation, or advices? > > For the premirrors, what I've done is start a new build directory.. setup my > DL_DIR to some place "safe".. and then do a "bitbake -c fetchall world" > > I then export my DL_DIR for others via NFS, FTP, HTTPS, etc... whatever is > appropriate within your organization -- then everyone else uses PREMIRROR > settings to use that DL_DIR. > > For the SSTATE_MIRROR, you can do something similar... but sstate_mirroring is > really only useful if everyone is on a fast link. In my experience anything > slower then a gigabit link and it's usually (not always) faster to compile stuff > locally, then pull from an sstate_mirror. > > (Also if you have problems with an sstate_mirror, please let us know. Not a lot > of people are using them yet -- I had some issues w/ 1.1 and the sstate being > used by multiple userids, but I believe these are resolved in newer versions.) > > --Mark > >> Thanx, Andi >> >> *ANDREAS ZOUFAL >> *Engineer >> Safety& Security Department >> Video and Security Technology >> >> ** >> >> *AIT Austrian Institute of Technology GmbH >> *Donau-City-Straße 1 | 1220 Vienna | Austria >> T +43(0) 50550-4266 | F +43(0) 50550-4150 >> _andreas.zoufal@ait.ac.at_| >> _http://www.ait.ac.at__ >> _ >> FN: 115980 i HG Wien | UID: ATU14703506 >> This email and any attachments thereto, is intended only for use by the >> addressee(s) named herein and may contain legally privileged and/or confidential >> information. If you are not the intended recipient, please notify the sender by >> return e-mail or by telephone and delete this message from your system and any >> printout thereof. Any unauthorized use, reproduction, or dissemination of this >> message is strictly prohibited. Please note that e-mails are susceptible to >> change. AIT Austrian Institute of Technology GmbH shall not be liable for the >> improper or incomplete transmission of the information contained in this >> communication, nor shall it be liable for any delay in its receipt. >> >> >> >> _______________________________________________ >> poky mailing list >> poky@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/poky > > _______________________________________________ > poky mailing list > poky@yoctoproject.org > https://lists.yoctoproject.org/listinfo/poky > _______________________________________________ > poky mailing list > poky@yoctoproject.org > https://lists.yoctoproject.org/listinfo/poky