Marcus Meissner
779d27502d
Update to 0.9.2 OBS-URL: https://build.opensuse.org/request/show/351108 OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=168
20 lines
1.0 KiB
Diff
20 lines
1.0 KiB
Diff
Index: plymouth-0.9.2/src/libply-splash-core/ply-device-manager.c
|
|
===================================================================
|
|
--- 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);
|
|
|
|
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;
|