]> git.ozlabs.org Git - petitboot/blobdiff - discover/device-handler.c
discover/powerpc: Separate ipmi bootdev handling into separate functions
[petitboot] / discover / device-handler.c
index 120f11f52aa819639ece6a1bffaa49d0772921ae..64fc9fab2a5031556ea5e27a76be98903629999a 100644 (file)
@@ -626,6 +626,7 @@ struct discover_context *device_handler_discover_context_create(
 
        ctx = talloc_zero(handler, struct discover_context);
        ctx->device = device;
+       ctx->network = handler->network;
        list_init(&ctx->boot_options);
 
        return ctx;
@@ -786,6 +787,9 @@ void device_handler_boot(struct device_handler *handler,
 
        if (handler->pending_boot)
                boot_cancel(handler->pending_boot);
+
+       platform_finalise_config();
+
        handler->pending_boot = boot(handler, opt, cmd, handler->dry_run,
                        boot_status, handler);
        handler->pending_boot_is_default = false;