]> git.ozlabs.org Git - petitboot/commitdiff
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)
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>

No differences found