On Fri, 25 Jan 2013, daniel.schnel.ext...@ifm.com wrote: > Von: "Robert P. J. Day" <rpj...@crashcourse.ca> > An: daniel.schnel.ext...@ifm.com > Kopie: yocto@yoctoproject.org > Datum: 24.01.2013 21:47 > Betreff: Re: [yocto] PREMIRRORS_prepend & friends > Gesendet von: yocto-boun...@yoctoproject.org > > > > On Thu, 24 Jan 2013, daniel.schnel.ext...@ifm.com wrote: > > > > > Hi, > > > > after hours of trying and googling I finally make my first coming out > here > > on this list to get some help with PREMIRRORS_prepend & friends.So please > > be friendly ;) > > > > I want to setup local mirrors for our yocto build for reproducability > > purposes. I am using ELDK-5.2.1 which is based on yocto-1.2 > > > > I have made the following settings in my local.conf: > > > > PREMIRRORS_prepend = "\ > > git://.*/.* git://git@dettlx79: \n \ > > ftp://.*/.* http://dettlx79/sources \n \ > > http://.*/.* http://dettlx79/sources \n \ > > https://.*/.* http://dettlx79/sources \n \" > > > > > > BB_FETCH_PREMIRRORONLY = "1" > > ... snip ... > > i documented how i set up my own local mirror here: > > http://www.crashcourse.ca/wiki/index.php/OE_Creating_your_%22own_mirror%22 > > it's all based on eventually storing tarballs of the sources, no > matter how you fetched the original sources. is that what you're > after for reproducibility? > > > > We want to guarantee even after +5 years or so that the bits of our > binaries are the same whenever we hit the build trigger. In my eyes > this can only be achieved if the sources are archived via revision > control system, because otherwise we would be dependent on archives > and their filename always staying unmodified over time. This is a > policy outside of our realm and so a revision control system would > get this straight.
that makes no sense to me. what could be more reliable than keeping your own copies of the relevant tarballs to guarantee that you always use exactly the same source for every build? how does leaving that source in a revision control system make it any more reproducible? rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ======================================================================== _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto