The cache file record milestones during boot, so we should
write it out:
1) only after the root filesystem is mounted
2) as soon as we're no longer going to get updates about boot
progress.
return;
}
+ if (state->system_initialized)
+ ply_progress_save_cache (state->progress,
+ get_cache_file_for_mode (state->mode));
+
state->quit_trigger = quit_trigger;
state->should_retain_splash = retain_splash;
exit_code = ply_event_loop_run (state.loop);
ply_trace ("exited event loop");
- ply_progress_save_cache (state.progress,
- get_cache_file_for_mode (state.mode));
-
ply_boot_splash_free (state.boot_splash);
state.boot_splash = NULL;