mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 10:08:06 +02:00
Revert "main: don't load cache or treat root as mounted on shutdown"
This reverts commit 55186d76ab.
This commit is contained in:
parent
7627f93959
commit
f6549d8fb1
1 changed files with 3 additions and 11 deletions
14
src/main.c
14
src/main.c
|
|
@ -718,17 +718,9 @@ on_newroot (state_t *state,
|
|||
chdir (root_dir);
|
||||
chroot (".");
|
||||
chdir ("/");
|
||||
|
||||
switch ((int) state->mode) {
|
||||
case PLY_MODE_BOOT:
|
||||
case PLY_MODE_UPDATES:
|
||||
ply_progress_load_cache (state->progress, get_cache_file_for_mode (state->mode));
|
||||
if (state->boot_splash != NULL)
|
||||
ply_boot_splash_root_mounted (state->boot_splash);
|
||||
break;
|
||||
case PLY_MODE_SHUTDOWN:
|
||||
break;
|
||||
}
|
||||
ply_progress_load_cache (state->progress, get_cache_file_for_mode (state->mode));
|
||||
if (state->boot_splash != NULL)
|
||||
ply_boot_splash_root_mounted (state->boot_splash);
|
||||
}
|
||||
|
||||
static const char *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue