[poky] How to create a PREMIRROR

Zoufal Andreas Andreas.Zoufal at ait.ac.at
Sat Mar 10 02:42:37 PST 2012


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?
Andi

________________________________________
From: poky-bounces at yoctoproject.org [poky-bounces at yoctoproject.org] On Behalf Of Mark Hatle [mark.hatle at windriver.com]
Sent: Friday, March 09, 2012 4:58 PM
To: poky at 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 at ait.ac.at <mailto:andreas.zoufal at 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 at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky

_______________________________________________
poky mailing list
poky at yoctoproject.org
https://lists.yoctoproject.org/listinfo/poky



More information about the poky mailing list