[Buildroot] [PATCH 08/19] packages: handle interrupted downloads

Paul Jones paul at pauljones.id.au
Wed Apr 28 23:26:14 UTC 2010


> -----Original Message-----
> From: buildroot-bounces at busybox.net [mailto:buildroot-
> bounces at busybox.net] On Behalf Of Thomas Petazzoni
> Sent: Thursday, 29 April 2010 7:41 AM
> To: buildroot at uclibc.org
> Cc: Thomas Petazzoni
> Subject: [Buildroot] [PATCH 08/19] packages: handle interrupted downloads
> 
> Currently, when package downloads are interrupted, next time you run
> Buildroot, it thinks that the download is complete (the file is present in
> $(DL_DIR), isn't it ?), which leads Buildroot to extract an invalid
tarball.
> 
> Therefore, the DOWNLOAD macro is enhanced to download the file under a
> temporary name, and to rename it to the correct name one the download
> has completed.


Would it be possible to add automatic download resume support while you are
at it?



Paul.






More information about the buildroot mailing list