plymouth-start.service: patched to trigger udev drm drivers before running plymouthd

plymouthd.defaults: patch to set ShowDelay=0 [release 0.9.2.20150815git-2mamba;Sun Aug 16 2015]
This commit is contained in:
Silvan Calarco 2024-01-06 10:21:50 +01:00
parent 5264567f0b
commit 468d222770
3 changed files with 36 additions and 7 deletions

View File

@ -0,0 +1,8 @@
--- plymouth-0.9.2.20150815git/src/plymouthd.defaults.orig 2015-08-16 00:23:06.410330232 +0200
+++ plymouth-0.9.2.20150815git/src/plymouthd.defaults 2015-08-16 00:23:14.738258452 +0200
@@ -2,4 +2,4 @@
# upgrades.
[Daemon]
Theme=spinner
-ShowDelay=5
+ShowDelay=0

View File

@ -0,0 +1,12 @@
--- plymouth-0.9.2.20150815git/systemd-units/plymouth-start.service.in.orig 2015-08-15 10:39:38.000000000 +0200
+++ plymouth-0.9.2.20150815git/systemd-units/plymouth-start.service.in 2015-08-16 00:14:43.902046318 +0200
@@ -7,6 +7,9 @@
ConditionKernelCommandLine=!plymouth.enable=0
[Service]
+ExecStartPre=-/bin/udevadm trigger --action=add --attr-match=class=0x030000
+ExecStartPre=-/bin/udevadm trigger --action=add --subsystem-match=graphics --subsystem-match=drm --subsystem-match=tty
+ExecStartPre=-/bin/udevadm settle --timeout=30
ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=boot --pid-file=@plymouthruntimedir@/pid --attach-to-session
ExecStartPost=-@PLYMOUTH_CLIENT_DIR@/plymouth show-splash
Type=forking

View File

@ -1,19 +1,22 @@
Name: plymouth Name: plymouth
Epoch: 1 Epoch: 1
Version: 0.9.2 Version: 0.9.2.20150815git
Release: 1mamba Release: 2mamba
Summary: Provides a graphical boot animation while the boot process happens in the background Summary: Provides a graphical boot animation while the boot process happens in the background
Group: System/Kernel and Hardware Group: System/Kernel and Hardware
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.freedesktop.org/wiki/Software/Plymouth URL: http://www.freedesktop.org/wiki/Software/Plymouth
Source: http://www.freedesktop.org/software/plymouth/releases/plymouth-%{version}.tar.bz2 Source: git://anongit.freedesktop.org/git/plymouth/master/plymouth-%{version}.tar.bz2
#Source: http://www.freedesktop.org/software/plymouth/releases/plymouth-%{version}.tar.bz2
Source1: initrd-functions Source1: initrd-functions
Patch0: %{name}-0.8.3-libpng-1.4.patch Patch0: %{name}-0.8.3-libpng-1.4.patch
Patch2: %{name}-0.8.3-fix_tty1_echo.patch Patch2: %{name}-0.8.3-fix_tty1_echo.patch
Patch3: %{name}-0.8.5-dont_disable_fb_if_console_cmdline_is_passed.patch Patch3: %{name}-0.8.5-dont_disable_fb_if_console_cmdline_is_passed.patch
Patch4: plymouth-0.8.8-fix-crash-on-deactivate.patch Patch4: plymouth-0.8.8-fix-crash-on-deactivate.patch
Patch5: plymouth-0.9.2.20150815git-ensure-start-drm-before-plymouth.patch
Patch6: plymouth-0.9.2.20150815git-disable_ShowDelay.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -104,12 +107,11 @@ This package contains the default themes provides with plymouth.
%prep %prep
%setup -q %setup -q
#%patch0 -p1 %patch5 -p1
#%patch2 -p1 %patch6 -p1
#%patch3 -p1
#%patch4 -p1
%build %build
./autogen.sh
%configure \ %configure \
--with-logo=%{_datadir}/icons/hicolor/64x64/apps/openmamba.png \ --with-logo=%{_datadir}/icons/hicolor/64x64/apps/openmamba.png \
--with-background-color=0x0BB03A \ --with-background-color=0x0BB03A \
@ -260,6 +262,13 @@ mkinitrd $INITRAMFS $KVER -f -q
%{_datadir}/plymouth/themes/tribar/* %{_datadir}/plymouth/themes/tribar/*
%changelog %changelog
* Sun Aug 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.2.20150815git-2mamba
- plymouth-start.service: patched to trigger udev drm drivers before running plymouthd
- plymouthd.defaults: patch to set ShowDelay=0
* Sat Aug 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.2.20150815git-1mamba
- update to 0.9.2.20150815git
* Wed Mar 25 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.2-1mamba * Wed Mar 25 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.2-1mamba
- update to 0.9.2 - update to 0.9.2