-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Frans Pop wrote: > Or maybe use a switch to toggle between "continuation" and "full" retries. > Continuation retries probably make sense for larger files (Packages comes > to mind) for which the integrity can be checked (md5sum). > Given the caveats in the wget manpage for -c, it may be safer to not do > continuation retries at all, but just do a full retry in other cases (like > fetching preseed files).
OK, I've done -c as an option to fetch-url that adds a -c option to wget for the 3 retries that it tries if the initial wget fails. I've also made preseed_fetch accept options and pass them onto fetch-url, so you can use -c in preseed scripts (for downloading udebs or debs, say) Here's the patch, split in two as you suggested so that the first half is just the moving of fetch-url into di-utils: http://hands.com/~phil/d-i/fetch-url.diff and the second bit is the wget404 stuff: http://hands.com/~phil/d-i/wget404.diff Cheers, Phil. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH0LUGYgOKS92bmRARAut1AJ4ktLRzGfrD/tedw2WW/RxFUZcqawCgoos7 MzezfQDVP8qA0lUu8/sivCQ= =9/yT -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]