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

Peter Korsgaard jacmet at uclibc.org
Sun May 2 20:48:55 UTC 2010

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

 Thomas> Currently, when package downloads are interrupted, next time you run
 Thomas> Buildroot, it thinks that the download is complete (the file is
 Thomas> present in $(DL_DIR), isn't it ?), which leads Buildroot to extract an
 Thomas> invalid tarball.

 Thomas> Therefore, the DOWNLOAD macro is enhanced to download the file under a
 Thomas> temporary name, and to rename it to the correct name one the download
 Thomas> has completed.

Wouldn't it be simpler / nicer to just add -c (continue) to WGET?

Bye, Peter Korsgaard

More information about the buildroot mailing list