From: Samuel Mendoza-Jonas Date: Fri, 16 Dec 2016 05:04:46 +0000 (+1100) Subject: discover/paths: Parse Busybox progress information X-Git-Tag: v1.4.0~5 X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=dadebc9010718645789009a0fddbc6447b07f1da;hp=dadebc9010718645789009a0fddbc6447b07f1da;p=petitboot 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 ---