summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2007-06-07 15:31:58 -0400
committerRay Strode <rstrode@redhat.com>2007-06-07 15:31:58 -0400
commit01c442db76e2b0df399bef805b5531484237bd35 (patch)
tree4b9c037ad7fe06497ab0f543a726511f7b62c99e /src
parent6385af9737afcf70ba0ec1e809fbc26d486237bb (diff)
downloadplymouth-01c442db76e2b0df399bef805b5531484237bd35.tar.gz
plymouth-01c442db76e2b0df399bef805b5531484237bd35.tar.xz
plymouth-01c442db76e2b0df399bef805b5531484237bd35.zip
- attach the splash screen to the event loop before trying to show it
- create fb device before trying to bring up splash screen
Diffstat (limited to 'src')
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 4eaeb50..b66517f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -109,7 +109,9 @@ start_boot_splash (state_t *state,
{
ply_boot_splash_t *splash;
+ mknod ("/dev/fb", 0600 | S_IFCHR, makedev (29, 0));
splash = ply_boot_splash_new (module_path);
+ ply_boot_splash_attach_to_event_loop (splash, state->loop);
if (!ply_boot_splash_show (splash))
{
@@ -119,8 +121,6 @@ start_boot_splash (state_t *state,
return NULL;
}
- ply_boot_splash_attach_to_event_loop (splash, state->loop);
-
return splash;
}
@@ -175,7 +175,7 @@ main (int argc,
}
state.boot_splash = start_boot_splash (&state,
- "fedora-fade-in.so");
+ "/lib/fedora-fade-in.so");
if (state.boot_splash == NULL)
{