summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2009-10-14 13:54:11 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2009-10-14 13:54:11 +0000
commita0e1c9fbdaf5ff8ec41c8af121257c199581a83c (patch)
treeccf09250116541922873562837055021b6c3d504
parentdb4bc8c544beee7d6bd2c17f5b3581409e7c61c2 (diff)
downloadtheme-a0e1c9fbdaf5ff8ec41c8af121257c199581a83c.tar
theme-a0e1c9fbdaf5ff8ec41c8af121257c199581a83c.tar.gz
theme-a0e1c9fbdaf5ff8ec41c8af121257c199581a83c.tar.bz2
theme-a0e1c9fbdaf5ff8ec41c8af121257c199581a83c.tar.xz
theme-a0e1c9fbdaf5ff8ec41c8af121257c199581a83c.zip
- Instantiate password dialog at startup, before initrd is unmounted, in case /usr isn't mounted when requested (Mdv bug #54048)
-rw-r--r--common/plymouth/mdv.script2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/plymouth/mdv.script b/common/plymouth/mdv.script
index e330dc7..15f8a05 100644
--- a/common/plymouth/mdv.script
+++ b/common/plymouth/mdv.script
@@ -153,6 +153,8 @@ SpriteSetImage(sprite_prompt, prompt);
SpriteSetPosition(sprite_prompt, (SpriteWindowGetWidth() - ImageGetWidth(prompt)) / 2, SpriteWindowGetHeight() * 0.89, 2);
}
+/* instantiate dialog at startup, to ensure all icons are loaded in memory before initrd is unmounted, in case /usr isn't mounted yet */
+dialog_setup(); dialog_opacity(0);
PlymouthSetDisplayNormalFunction(display_normal_callback);
PlymouthSetDisplayPasswordFunction(display_password_callback);
PlymouthSetMessageFunction(display_message_callback);