SHA256
1
0
forked from pool/plymouth

Accepting request 141258 from home:seife:branches:Base:System

- fix path to systemd-tty-ask-password-agent for newer systemd
- create the pid file again during boot, the existence of this is
  a condition for systemd-ask-password-plymouth.service. A proper
  fix might look different but that get's it going again.

OBS-URL: https://build.opensuse.org/request/show/141258
OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=93
This commit is contained in:
Raymond Wooninck
2012-11-14 10:15:18 +00:00
committed by Git OBS Bridge
parent 6b24cdfa4a
commit cc6b3e5e91
4 changed files with 42 additions and 6 deletions

View File

@@ -51,6 +51,8 @@ Patch10: 0001-Some-greenish-openSUSE-colors.patch
Patch11: plymouth-remove-pid-file.patch
Patch12: plymoith-sd-notforking.patch
Patch13: ply-sdunitdir.patch
# PATCH-OPENSUSE -- systemd-tty-ask-password-agent is in /usr/bin now.
Patch14: plymouth-systemd-in-usr.patch
BuildRequires: automake
BuildRequires: kernel-headers
BuildRequires: libtool
@@ -327,6 +329,10 @@ plugin.
#patch11 -p1
%patch12
%patch13
# haha, evil condition... :-)
%if "0%(type -p systemd-tty-ask-password-agent)" == "0/usr/bin/systemd-tty-ask-password-agent"
%patch14 -p1
%endif
# replace builddate with patch0date
sed -i "s/__DATE__/\"$(stat -c %y %{_sourcedir}/%{name}.changes)\"/" src/main.c