- Add plymouth-boot-vga-framebuffer.patch to fix boot_vga
problem with framebuffer devices. (bnc#886211) OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=154
This commit is contained in:
parent
87904dbf16
commit
1ffbd1c496
19
plymouth-boot-vga-framebuffer.patch
Normal file
19
plymouth-boot-vga-framebuffer.patch
Normal file
@ -0,0 +1,19 @@
|
||||
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;
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 4 10:34:25 UTC 2014 - idonmez@suse.com
|
||||
|
||||
- Add plymouth-boot-vga-framebuffer.patch to fix boot_vga
|
||||
problem with framebuffer devices. (bnc#886211)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 11 14:23:27 UTC 2014 - idonmez@suse.com
|
||||
|
||||
|
@ -60,6 +60,7 @@ Patch25: 0001-seat-be-a-little-more-forgiving-in-the-case-there-s-.patch
|
||||
Patch26: plymouth-ignore-cirrusdrm.patch
|
||||
# PATCH-FIX-UPSTREAM 0001-text-step-bar-use-correct-utf-8-multibyte-sequence-f.patch bnc#886148 fcrozat@suse.com -- fix UTF-8 code for square
|
||||
Patch27: 0001-text-step-bar-use-correct-utf-8-multibyte-sequence-f.patch
|
||||
Patch28: plymouth-boot-vga-framebuffer.patch
|
||||
|
||||
BuildRequires: automake
|
||||
BuildRequires: docbook-xsl-stylesheets
|
||||
@ -356,6 +357,7 @@ plugin.
|
||||
%patch25 -p1
|
||||
%patch26 -p1
|
||||
%patch27 -p1
|
||||
%patch28 -p1
|
||||
|
||||
# replace builddate with patch0date
|
||||
sed -i "s/__DATE__/\"$(stat -c %y %{_sourcedir}/%{name}.changes)\"/" src/main.c
|
||||
|
Loading…
Reference in New Issue
Block a user