From 1ffbd1c496e15d71ba87409f8716ccfda77e26f89827194ad42d1fe7a6c4981b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 8 Sep 2014 10:11:39 +0000 Subject: [PATCH] - 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 --- plymouth-boot-vga-framebuffer.patch | 19 +++++++++++++++++++ plymouth.changes | 6 ++++++ plymouth.spec | 2 ++ 3 files changed, 27 insertions(+) create mode 100644 plymouth-boot-vga-framebuffer.patch diff --git a/plymouth-boot-vga-framebuffer.patch b/plymouth-boot-vga-framebuffer.patch new file mode 100644 index 0000000..045b8fb --- /dev/null +++ b/plymouth-boot-vga-framebuffer.patch @@ -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; diff --git a/plymouth.changes b/plymouth.changes index 6d46132..17f4918 100644 --- a/plymouth.changes +++ b/plymouth.changes @@ -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 diff --git a/plymouth.spec b/plymouth.spec index e710aa9..c6a0866 100644 --- a/plymouth.spec +++ b/plymouth.spec @@ -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