]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
frame-buffer: use /dev/fb0 as default device
authorDaniel Drake <dsd@laptop.org>
Sat, 17 Mar 2012 06:39:03 +0000 (02:39 -0400)
committerRay Strode <rstrode@redhat.com>
Sat, 17 Mar 2012 06:39:03 +0000 (02:39 -0400)
The /dev/fb symlink doesn't get created with any recent udev version.
dracut puts it in place "by hand" before starting plymouthd, which is
why things aren't broken in configurations that use dracut's plymouth
module.

Update the default device path so that it works out-of-the-box in
other setups too.

src/plugins/renderers/frame-buffer/plugin.c

index d94317b636b947b8d03dafd4ad4d38fcb3df0b6f..864a8c3d883aefabeff098666375efd5c51790b7 100644 (file)
@@ -56,7 +56,7 @@
 #include "ply-renderer-plugin.h"
 
 #ifndef PLY_FRAME_BUFFER_DEFAULT_FB_DEVICE_NAME
-#define PLY_FRAME_BUFFER_DEFAULT_FB_DEVICE_NAME "/dev/fb"
+#define PLY_FRAME_BUFFER_DEFAULT_FB_DEVICE_NAME "/dev/fb0"
 #endif
 
 struct _ply_renderer_head