]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
- attach the splash screen to the event loop before trying to show it
authorRay Strode <rstrode@redhat.com>
Thu, 7 Jun 2007 19:31:58 +0000 (15:31 -0400)
committerRay Strode <rstrode@redhat.com>
Thu, 7 Jun 2007 19:31:58 +0000 (15:31 -0400)
- create fb device before trying to bring up splash screen

src/main.c

index 4eaeb50e075cba21d63a09a049de9cd998b8b97d..b66517f3a0613230bc649cc81515baadf64c98e5 100644 (file)
@@ -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)
     {