]> git.ozlabs.org Git - petitboot/blobdiff - discover/boot.c
discover/syslinux-parser: Fix missing comma in ignored names.
[petitboot] / discover / boot.c
index da7b946fcbb2dc2628b7df892fa4b752fca81a4c..ba4e7208fc7cf700a86c87fad4a8b5e4f092e375 100644 (file)
@@ -45,6 +45,7 @@ static void __attribute__((format(__printf__, 4, 5))) update_status(
        va_end(ap);
 
        status.type = type;
+       status.backlog = false;
 
        pb_debug("boot status: [%d] %s\n", type, status.message);
 
@@ -578,6 +579,11 @@ struct boot_task *boot(void *ctx, struct discover_boot_option *opt,
                dtb = opt->dtb->url;
        }
 
+       if (opt && opt->proxy) {
+               setenv("http_proxy", opt->proxy, 1);
+               setenv("https_proxy", opt->proxy, 1);
+       }
+
        boot_task = talloc_zero(ctx, struct boot_task);
        boot_task->dry_run = dry_run;
        boot_task->status_fn = status_fn;