tag 509723 patch quit Hi, On Thu, May 07, 2009 at 07:56:02PM +0200, Christian Perrier wrote: > > Changes: > busybox (1:1.13.3-1) unstable; urgency=low > . > * New upstream release. > - Unbreak compressed usage. (closes: #521443) > * [deb, udeb] Enable udhpc. (closes: #504089) > * [udeb] Enable tftp. (closes: #510058) > * [udeb] Enable tar archive creation. (closes: #487433) > * Make strip build option work correctly. (closes: #503581) > here's the simple packages/debian-installer-utils/fetch-url-methods/tftp file that I wrote months ago to make this work for preseeding. Cheers, Ryan -- _________________________ Ryan Niebur ryanryan52@gmail.com
protocol_fetch() {
local url file RETVAL i server remote_file
url="$1"
file="$2"
server="$(echo $url | cut -d/ -f 3)"
remote_file="/$(echo $url | cut -d/ -f 4-)"
RETVAL=0
for i in 1 2; do
tftp -g -l "$file" -r "$remote_file" "$server" || RETVAL=$?
[ $RETVAL = 1 ] || return $RETVAL
[ "$TRY_REPEAT" ] || break
done
return $RETVAL
}
Attachment:
signature.asc
Description: Digital signature