* How to create a PREMIRROR @ 2012-03-09 15:40 Zoufal Andreas 2012-03-09 15:58 ` Mark Hatle 0 siblings, 1 reply; 6+ messages in thread From: Zoufal Andreas @ 2012-03-09 15:40 UTC (permalink / raw) To: 'poky@yoctoproject.org' [-- Attachment #1: Type: text/plain, Size: 1572 bytes --] 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? 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<mailto: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. [-- Attachment #2: Type: text/html, Size: 5254 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to create a PREMIRROR 2012-03-09 15:40 How to create a PREMIRROR Zoufal Andreas @ 2012-03-09 15:58 ` Mark Hatle 2012-03-10 10:42 ` Zoufal Andreas 0 siblings, 1 reply; 6+ messages in thread From: Mark Hatle @ 2012-03-09 15:58 UTC (permalink / raw) To: poky 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 <mailto: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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to create a PREMIRROR 2012-03-09 15:58 ` Mark Hatle @ 2012-03-10 10:42 ` Zoufal Andreas 2012-03-12 15:26 ` Mark Hatle 0 siblings, 1 reply; 6+ messages in thread From: Zoufal Andreas @ 2012-03-10 10:42 UTC (permalink / raw) To: poky@yoctoproject.org 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@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 <mailto: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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to create a PREMIRROR 2012-03-10 10:42 ` Zoufal Andreas @ 2012-03-12 15:26 ` Mark Hatle 2012-03-12 15:43 ` Gary Thomas 0 siblings, 1 reply; 6+ messages in thread From: Mark Hatle @ 2012-03-12 15:26 UTC (permalink / raw) To: poky 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<mailto: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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to create a PREMIRROR 2012-03-12 15:26 ` Mark Hatle @ 2012-03-12 15:43 ` Gary Thomas 2012-03-12 15:50 ` Robert P. J. Day 0 siblings, 1 reply; 6+ messages in thread From: Gary Thomas @ 2012-03-12 15:43 UTC (permalink / raw) To: poky On 2012-03-12 09:26, Mark Hatle wrote: > 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.) All [true] files at the top level of 'downloads', except for the .done ones This does include some patches (bash!) and mostly tarballs. >> ________________________________________ >> 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<mailto: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 > > _______________________________________________ > poky mailing list > poky@yoctoproject.org > https://lists.yoctoproject.org/listinfo/poky -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to create a PREMIRROR 2012-03-12 15:43 ` Gary Thomas @ 2012-03-12 15:50 ` Robert P. J. Day 0 siblings, 0 replies; 6+ messages in thread From: Robert P. J. Day @ 2012-03-12 15:50 UTC (permalink / raw) To: Gary Thomas; +Cc: poky On Mon, 12 Mar 2012, Gary Thomas wrote: > On 2012-03-12 09:26, Mark Hatle wrote: > > 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.) > > All [true] files at the top level of 'downloads', except for the .done ones > This does include some patches (bash!) and mostly tarballs. that's how it appears to me. it's enough to check the recipe files to see the values in SRC_URI to verify what should be in the premirror. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ======================================================================== ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-03-12 15:50 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-03-09 15:40 How to create a PREMIRROR Zoufal Andreas 2012-03-09 15:58 ` Mark Hatle 2012-03-10 10:42 ` Zoufal Andreas 2012-03-12 15:26 ` Mark Hatle 2012-03-12 15:43 ` Gary Thomas 2012-03-12 15:50 ` Robert P. J. Day
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.