discover/paths: Parse Busybox progress information
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Fri, 16 Dec 2016 05:04:46 +0000 (16:04 +1100)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 20 Dec 2016 05:40:21 +0000 (16:40 +1100)
commitdadebc9010718645789009a0fddbc6447b07f1da
tree15e3dd6a47f0cb41425f8551f81cbe31b1d69327
parent78819395e5aa0dbd0c484f7a2512fcf04b87bbf2
discover/paths: Parse Busybox progress information

Several busybox utilities (tftp and wget in particular) use a common
format for progress bar output. Add a stdout callback that recognises
this format and passes progress information to
device_handler_status_download().
If Petitboot has been explicitly built with busybox support set
busybox_progress_cb() as the default stdout callback for
load_url_async().

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
configure.ac
discover/paths.c