2016-01-13 19:15:35 +01:00
|
|
|
Index: plymouth-0.9.2/src/libply-splash-core/ply-device-manager.c
|
2014-09-08 12:11:39 +02:00
|
|
|
===================================================================
|
2016-01-13 19:15:35 +01:00
|
|
|
--- plymouth-0.9.2.orig/src/libply-splash-core/ply-device-manager.c
|
|
|
|
+++ plymouth-0.9.2/src/libply-splash-core/ply-device-manager.c
|
|
|
|
@@ -102,12 +102,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);
|
2014-09-08 12:11:39 +02:00
|
|
|
|
2016-01-13 19:15:35 +01:00
|
|
|
boot_vga = udev_device_get_sysattr_value (bus_device, "boot_vga");
|
|
|
|
free (bus_device_path);
|
2014-09-08 12:11:39 +02:00
|
|
|
|
2016-01-13 19:15:35 +01:00
|
|
|
- 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;
|