+
+ if (ctx->extract_flags & WIMLIB_EXTRACT_FLAG_WIMBOOT) {
+
+ u64 data_source_id;
+
+ if (!wim_info_get_wimboot(ctx->wim->wim_info,
+ ctx->wim->current_image))
+ WARNING("Image is not marked as WIMBoot compatible!");
+
+ ret = wimboot_alloc_data_source_id(ctx->wim->filename,
+ ctx->wim->current_image,
+ path, &data_source_id);
+ if (ret)
+ return ret;
+
+ ctx_save_data_source_id(ctx, data_source_id);
+ }
+