[packages/plymouth] fix path to udevadm
glen
glen at pld-linux.org
Fri Jul 20 12:55:16 CEST 2012
commit 1a851e3050311611b5f9876625af16de87c4fda4
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Jul 20 13:55:05 2012 +0300
fix path to udevadm
path-udevadm.patch | 9 +++++++++
plymouth.spec | 6 ++++--
2 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/path-udevadm.patch b/path-udevadm.patch
new file mode 100644
index 0000000..0ba881f
--- /dev/null
+++ b/path-udevadm.patch
@@ -0,0 +1,9 @@
+--- plymouth-0.8.5.1/./systemd-units/plymouth-start.service.in~ 2012-06-06 21:25:04.000000000 +0300
++++ plymouth-0.8.5.1/./systemd-units/plymouth-start.service.in 2012-07-20 13:53:52.292978173 +0300
+@@ -9,5 +9,5 @@
+
+ [Service]
+ ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=boot --pid-file=@plymouthruntimedir@/pid --attach-to-session
+-ExecStartPost=-/bin/udevadm trigger --action=add --attr-match=class=0x030000 ; -/bin/udevadm trigger --action=add --subsystem-match=graphics --subsystem-match=drm --subsystem-match=tty ; -/bin/udevadm settle --timeout=30 ; - at PLYMOUTH_CLIENT_DIR@/plymouth show-splash
++ExecStartPost=-/sbin/udevadm trigger --action=add --attr-match=class=0x030000 ; -/sbin/udevadm trigger --action=add --subsystem-match=graphics --subsystem-match=drm --subsystem-match=tty ; -/sbin/udevadm settle --timeout=30 ; - at PLYMOUTH_CLIENT_DIR@/plymouth show-splash
+ Type=forking
diff --git a/plymouth.spec b/plymouth.spec
index f642820..7f67532 100644
--- a/plymouth.spec
+++ b/plymouth.spec
@@ -9,12 +9,12 @@
%bcond_without drm_radeon # disable building with libdrm_radeon support
%bcond_with drm_nouveau # enable building with libdrm_nouveau support
%bcond_without kms # disable building with libkms support
-#
+
Summary: Graphical Boot Animation and Logger
Summary(pl.UTF-8): Graficzna animacja i logowanie startu systemu
Name: plymouth
Version: 0.8.5.1
-Release: 1
+Release: 2
License: GPL v2+
Group: Base
Source0: http://www.freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.bz2
@@ -29,6 +29,7 @@ Source6: %{name}-update-initrd
Source7: systemd-ask-password-plymouth.path
Source8: systemd-ask-password-plymouth.service
Patch0: text-colors.patch
+Patch1: path-udevadm.patch
URL: http://www.freedesktop.org/wiki/Software/Plymouth
BuildRequires: cairo-devel
BuildRequires: gtk+2-devel >= 2:2.12.0
@@ -345,6 +346,7 @@ Odznacza się on małym kółkiem kręcącym się na ciemnym tle.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
# Change the default theme
sed -i -e 's/fade-in/charge/g' src/plymouthd.defaults
More information about the pld-cvs-commit
mailing list