1ffbd1c496
problem with framebuffer devices. (bnc#886211) OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=154
20 lines
942 B
Diff
20 lines
942 B
Diff
Index: plymouth-0.9.0/src/libply-splash-core/ply-device-manager.c
|
|
===================================================================
|
|
--- plymouth-0.9.0.orig/src/libply-splash-core/ply-device-manager.c
|
|
+++ plymouth-0.9.0/src/libply-splash-core/ply-device-manager.c
|
|
@@ -101,12 +101,13 @@ device_is_for_local_console (ply_device_
|
|
* card the kernel is using for its console. */
|
|
device_path = udev_device_get_syspath (device);
|
|
asprintf (&bus_device_path, "%s/device", device_path);
|
|
+ ply_trace ("Testing device path %s\n", bus_device_path);
|
|
bus_device = udev_device_new_from_syspath (manager->udev_context, bus_device_path);
|
|
|
|
boot_vga = udev_device_get_sysattr_value (bus_device, "boot_vga");
|
|
free (bus_device_path);
|
|
|
|
- if (boot_vga != NULL && strcmp (boot_vga, "1") == 0)
|
|
+ if (boot_vga == NULL /* framebuffer case */ || strcmp (boot_vga, "1") == 0)
|
|
for_local_console = true;
|
|
else
|
|
for_local_console = false;
|