* [Buildroot] Persistent tarball repository @ 2006-11-01 14:23 MikeW 2006-11-01 15:25 ` Nathanael D. Noblet 2006-11-06 13:30 ` [Buildroot] Persistent tarball repository Peter Korsgaard 0 siblings, 2 replies; 10+ messages in thread From: MikeW @ 2006-11-01 14:23 UTC (permalink / raw) To: buildroot I found to my annoyance that 'make distclean' clears out your downloaded .tar.gz files in /dl, which could be a pain if you hadn't realised that (and was, since there appears to be a problem with ftp.kernel.org so I got the file 'manually') May I ask if there is a setting to allow these files to be cached somewhere that 'distclean' doesn't clear out ? Might also be useful on a server in a team environment to ensure everyone uses the same reference downloads without local duplication and time penalty. Regards, MikeW ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Persistent tarball repository 2006-11-01 14:23 [Buildroot] Persistent tarball repository MikeW @ 2006-11-01 15:25 ` Nathanael D. Noblet 2006-11-01 15:46 ` MikeW 2006-11-06 13:30 ` [Buildroot] Persistent tarball repository Peter Korsgaard 1 sibling, 1 reply; 10+ messages in thread From: Nathanael D. Noblet @ 2006-11-01 15:25 UTC (permalink / raw) To: buildroot On Wed, 2006-11-01 at 14:23 +0000, MikeW wrote: > I found to my annoyance that 'make distclean' clears out your downloaded .tar.gz > files in /dl, which could be a pain if you hadn't realised that (and was, since > there appears to be a problem with ftp.kernel.org so I got the file 'manually') > > May I ask if there is a setting to allow these files to be cached somewhere that > 'distclean' doesn't clear out ? > Might also be useful on a server in a team environment to ensure everyone > uses the same reference downloads without local duplication and time penalty. make clean? -- Nathanael D. Noblet <nathanael@gnat.ca> Gnat Solutions, Inc ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Persistent tarball repository 2006-11-01 15:25 ` Nathanael D. Noblet @ 2006-11-01 15:46 ` MikeW 2006-11-01 16:01 ` Ashwin Bihari 0 siblings, 1 reply; 10+ messages in thread From: MikeW @ 2006-11-01 15:46 UTC (permalink / raw) To: buildroot Nathanael D. Noblet <nathanael@...> writes: > > On Wed, 2006-11-01 at 14:23 +0000, MikeW wrote: > > I found to my annoyance that 'make distclean' clears out your downloaded .tar.gz > > files in /dl, which could be a pain if you hadn't realised that (and was, since > > there appears to be a problem with ftp.kernel.org so I got the file 'manually') > > > > May I ask if there is a setting to allow these files to be cached somewhere that > > 'distclean' doesn't clear out ? > > Might also be useful on a server in a team environment to ensure everyone > > uses the same reference downloads without local duplication and time penalty. > > make clean? Yes, but 'make clean' only removes object files, causing a straight rebuild from source, 'distclean' is supposed to remove any make-generated/config files as well - IIRC. Which is not quite the same as deleting all your patiently downloaded tarballs as well ! So I just wondered if there was a way to either allow distclean to spare the package source files, or alternatively, if you could 'get' from a local repository rather than having to download via FTP/HTTP, if your required file existed. Regards, MikeW ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Persistent tarball repository 2006-11-01 15:46 ` MikeW @ 2006-11-01 16:01 ` Ashwin Bihari 2006-11-01 16:23 ` MikeW 0 siblings, 1 reply; 10+ messages in thread From: Ashwin Bihari @ 2006-11-01 16:01 UTC (permalink / raw) To: buildroot On 11/1/06, MikeW <mw_phil@yahoo.co.uk> wrote: > > Yes, but 'make clean' only removes object files, causing a straight > rebuild from > source, 'distclean' is supposed to remove any make-generated/config files > as > well - IIRC. > > Which is not quite the same as deleting all your patiently downloaded > tarballs as well ! > > So I just wondered if there was a way to either allow distclean to spare > the package source files, or alternatively, if you could 'get' from a > local repository rather than having to download via FTP/HTTP, if your > required file existed. > > Regards, > MikeW > Predominently, "make distclean" is used to return a package to it's "distributed" state and in so that means removing any generated files and, in Buildroots case, any downloaded files. You can hack your Makefile to not remove the "dl" directory if you so wish, but I would think that the system is behaving as expected. You could also do the get from a local repository by modifying the appropriate <package>.mk file in the "package" directory. Regards -- ~ Ashwin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://busybox.net/lists/buildroot/attachments/20061101/199d7333/attachment.htm ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Persistent tarball repository 2006-11-01 16:01 ` Ashwin Bihari @ 2006-11-01 16:23 ` MikeW 2006-11-01 16:41 ` Ashwin Bihari 0 siblings, 1 reply; 10+ messages in thread From: MikeW @ 2006-11-01 16:23 UTC (permalink / raw) To: buildroot Ashwin Bihari <abihari@...> writes: > Predominently, "make distclean" is used to return a package to it's "distributed" state and in so that means removing any generated files and, in Buildroots case, any downloaded files. > You can hack your Makefile to not remove the "dl" directory if you so wish, but I would think that the system is behaving as expected.You could also do the get from a local repository by modifying the appropriate <package>.mk file in the "package" directory. > Regards-- ~ Ashwin > Yes - I think my issue is that the downloads are held 'within' the buildroot tree, hence the semantics of distclean as you describe them mean that they must go. If they were outside the buildroot tree, then I guess distclean ought not to clear them out. Wonder if that's the making of a patch - only 'distclean' delete downloaded tarballs if they occur under the buildroot directory; but currently there's no menuconfig option to say where downloads are kept ... however at the moment I just want something that 'works out of the box'! Thanks, MikeW ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Persistent tarball repository 2006-11-01 16:23 ` MikeW @ 2006-11-01 16:41 ` Ashwin Bihari 2006-11-01 17:17 ` Marc Lindahl ` (2 more replies) 0 siblings, 3 replies; 10+ messages in thread From: Ashwin Bihari @ 2006-11-01 16:41 UTC (permalink / raw) To: buildroot On 11/1/06, MikeW <mw_phil@yahoo.co.uk> wrote: > > Yes - I think my issue is that the downloads are held 'within' the > buildroot > tree, hence the semantics of distclean as you describe them mean that they > must go. > > If they were outside the buildroot tree, then I guess distclean ought not > to clear them out. > > Wonder if that's the making of a patch - only 'distclean' delete > downloaded tarballs if they occur under the buildroot directory; > but currently there's no menuconfig option to say where downloads are kept > ... > however at the moment I just want something that 'works out of the box'! > > Thanks, > MikeW > Mike, By all means provide a patch that allows you to change the location of the DL directory and whether or not it should be deleted during a distclean. I would definitely find it useful and if others agree, it might get committed. Regards -- ~ Ashwin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://busybox.net/lists/buildroot/attachments/20061101/d24358a4/attachment.htm ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Persistent tarball repository 2006-11-01 16:41 ` Ashwin Bihari @ 2006-11-01 17:17 ` Marc Lindahl 2006-11-01 17:25 ` Bernhard Fischer 2006-11-01 17:47 ` [Buildroot] Persistent tarball repository - already exists MikeW 2 siblings, 0 replies; 10+ messages in thread From: Marc Lindahl @ 2006-11-01 17:17 UTC (permalink / raw) To: buildroot BR2_DL_DIR already there no patch needed... why do you need to move it around so much it needs to be in menuconfig? also I disagree with patching distclean, then it will not behave the way all other distcleans everywhere behave. Make a new option instead (though for the life of me I can't figure out what you'd need it for) my $0.02, Marc On Nov 1, 2006, at 11:41 AM, Ashwin Bihari wrote: > On 11/1/06, MikeW <mw_phil@yahoo.co.uk> wrote: >> >> tree, hence the semantics of distclean as you describe them mean that >> they >> must go. >> >> If they were outside the buildroot tree, then I guess distclean ought >> not >> to clear them out. >> >> Wonder if that's the making of a patch - only 'distclean' delete >> downloaded tarballs if they occur under the buildroot directory; >> but currently there's no menuconfig option to say where downloads are >> kept ... >> however at the moment I just want something that 'works out of the >> box'! >> >> Thanks, >> MikeW > > Mike, > > By all means provide a patch that allows you to change the location of > the DL directory and whether or not it should be deleted during a > distclean. I would definitely find it useful and if others agree, it > might get committed. > > Regards > > -- > ~ Ashwin_______________________________________________ > buildroot mailing list > buildroot at uclibc.org > http://busybox.net/mailman/listinfo/buildroot -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1438 bytes Desc: not available Url : http://busybox.net/lists/buildroot/attachments/20061101/38ba48dd/attachment.bin ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Persistent tarball repository 2006-11-01 16:41 ` Ashwin Bihari 2006-11-01 17:17 ` Marc Lindahl @ 2006-11-01 17:25 ` Bernhard Fischer 2006-11-01 17:47 ` [Buildroot] Persistent tarball repository - already exists MikeW 2 siblings, 0 replies; 10+ messages in thread From: Bernhard Fischer @ 2006-11-01 17:25 UTC (permalink / raw) To: buildroot On Wed, Nov 01, 2006 at 10:41:02AM -0600, Ashwin Bihari wrote: >On 11/1/06, MikeW <mw_phil@yahoo.co.uk> wrote: >> >>Yes - I think my issue is that the downloads are held 'within' the >>buildroot >>tree, hence the semantics of distclean as you describe them mean that they >>must go. >> >>If they were outside the buildroot tree, then I guess distclean ought not >>to clear them out. >> >>Wonder if that's the making of a patch - only 'distclean' delete >>downloaded tarballs if they occur under the buildroot directory; >>but currently there's no menuconfig option to say where downloads are kept >>... >>however at the moment I just want something that 'works out of the box'! >> >>Thanks, >>MikeW >> > >Mike, > >By all means provide a patch that allows you to change the location of the >DL directory and whether or not it should be deleted during a distclean. I >would definitely find it useful and if others agree, it might get committed. The DL_DIR will only be deleted if it's "dl" (i.e. the default). Change it (via menuconfig; no need for an additional patch, it's already in there). You can "make dirclean" to clean everything but your .config and the stuff in your custom DL_DIR. HTH, ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Persistent tarball repository - already exists 2006-11-01 16:41 ` Ashwin Bihari 2006-11-01 17:17 ` Marc Lindahl 2006-11-01 17:25 ` Bernhard Fischer @ 2006-11-01 17:47 ` MikeW 2 siblings, 0 replies; 10+ messages in thread From: MikeW @ 2006-11-01 17:47 UTC (permalink / raw) To: buildroot Ashwin Bihari <abihari@...> writes: > > Mike,By all means provide a patch that allows you to change the location of the DL directory and whether or not it should be deleted during a distclean. I would definitely find it useful and if others agree, it might get committed. > Regards-- ~ Ashwin > Apologies to all, I take it all back - there /is/ a menuconfig option, and if I specify /opt/dl, 'make distclean' does not clean it out ! Nice one, buildroot ! Now, back to the 'unrecognised emulation' problem ... grrr ! Regards, MikeW ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Persistent tarball repository 2006-11-01 14:23 [Buildroot] Persistent tarball repository MikeW 2006-11-01 15:25 ` Nathanael D. Noblet @ 2006-11-06 13:30 ` Peter Korsgaard 1 sibling, 0 replies; 10+ messages in thread From: Peter Korsgaard @ 2006-11-06 13:30 UTC (permalink / raw) To: buildroot >>>>> "Mike" == MikeW <mw_phil@yahoo.co.uk> writes: Hi, Mike> May I ask if there is a setting to allow these files to be Mike> cached somewhere that 'distclean' doesn't clear out ? Might Mike> also be useful on a server in a team environment to ensure Mike> everyone uses the same reference downloads without local Mike> duplication and time penalty. We use a shared dl directory on a NFS server (setting BR2_DL_DIR). Make distclean doesn't delete that. -- Bye, Peter Korsgaard ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2006-11-06 13:30 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-11-01 14:23 [Buildroot] Persistent tarball repository MikeW 2006-11-01 15:25 ` Nathanael D. Noblet 2006-11-01 15:46 ` MikeW 2006-11-01 16:01 ` Ashwin Bihari 2006-11-01 16:23 ` MikeW 2006-11-01 16:41 ` Ashwin Bihari 2006-11-01 17:17 ` Marc Lindahl 2006-11-01 17:25 ` Bernhard Fischer 2006-11-01 17:47 ` [Buildroot] Persistent tarball repository - already exists MikeW 2006-11-06 13:30 ` [Buildroot] Persistent tarball repository Peter Korsgaard
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox