> On Aug 16, 2016, at 8:37 AM, Robert P. J. Day <rpj...@crashcourse.ca> wrote: > > On Tue, 16 Aug 2016, Patrick Doyle wrote: > >> As I am playing with several different Yocto/OE projects, I thought >> it would be nice to set up a global downloads directory. >> >> Also, being a somewhat forgetful sort, I thought it would be nice if >> I could set DL_DIR in my .bashrc and not have to remember to edit >> conf/local.conf each time I follow the directions from a third party >> site to set up their Yocto based distribution. >> >> Can I do this? If so, how? > > if you're talking about creating a local source mirror for tarballs > to be shared across multiple projects, i taught an OE/YP course last > week based on a digi ConnectCore 6 dev kit, and i wrote some wiki > pages for it, including this one: > > http://www.crashcourse.ca/wiki/index.php/CC6_local_source_mirror >
a small nit, perhaps its better to use rsync instead of cp. > that explains how to create a globally accessible directory full of > tarballs, how to configure each new project to look there first, and > there's even a script so that, if a new project *does* have to > download a bit of stuff that's not in your local source mirror, you > can run that script from the downloads/ directory, and it will copy > all the newly-downloaded stuff into your local source mirror. > > let me know if anything on that page is unclear. > > 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
signature.asc
Description: Message signed with OpenPGP using GPGMail
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto