From 8b31ea270597ed1722757e184a6ad66eda940184 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Tue, 4 Nov 2008 19:13:43 +0000 Subject: [PATCH] - Add a sample boot-duration for livecds and first time boots (bug 469752) --- boot-duration | 39 +++++++++++++++++++++++++++++++++++++++ plymouth.spec | 9 +++++++++ 2 files changed, 48 insertions(+) create mode 100644 boot-duration diff --git a/boot-duration b/boot-duration new file mode 100644 index 0000000..7fe728c --- /dev/null +++ b/boot-duration @@ -0,0 +1,39 @@ +0.222:RCkernelparam +0.223:RChostname +0.238:RCmountfs +0.275:RCswap +0.330:microcode_ctl +0.357:cpuspeed +0.365:ip6tables +0.380:iptables +0.385:isdn +0.504:auditd +0.508:restorecond +0.523:rsyslog +0.530:irqbalance +0.533:rpcbind +0.549:nfslock +0.561:mdmonitor +0.563:rpcidmapd +0.578:rpcgssd +0.579:messagebus +0.580:fuse +0.594:netfs +0.600:acpid +0.611:haldaemon +0.660:pcscd +0.691:udev-post +0.703:portreserve +0.712:setroubleshoot +0.749:bluetooth +0.738:sshd +0.763:ntpd +0.807:sendmail +0.876:crond +0.902:kerneloops +0.907:smolt +0.915:atd +0.927:avahi-daemon +0.941:cups +0.983:anacron +0.992:local diff --git a/plymouth.spec b/plymouth.spec index 91cbba3..27b985d 100644 --- a/plymouth.spec +++ b/plymouth.spec @@ -9,6 +9,7 @@ Release: 0.2008.10.30.4%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.bz2 +Source1: boot-duration Patch0: plymouth-allow-passing-plugin.patch URL: http://freedesktop.org/software/plymouth/releases BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -177,6 +178,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; # Temporary symlink until rc.sysinit is fixed (cd $RPM_BUILD_ROOT%{_bindir}; ln -s ../../bin/plymouth) +mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/plymouth +cp $RPM_SOURCE_DIR/boot-duration $RPM_BUILD_ROOT%{_localstatedir}/lib/plymouth + %clean rm -rf $RPM_BUILD_ROOT @@ -235,6 +239,7 @@ fi %{_localstatedir}/run/plymouth %{_localstatedir}/spool/plymouth %{_localstatedir}/lib/plymouth +%verify(not mtime md5) %{_localstatedir}/lib/plymouth/boot-duration %files devel %defattr(-, root, root) @@ -300,6 +305,10 @@ fi %defattr(-, root, root) %changelog +* Tue Nov 4 2008 Ray Strode 0.6.0-0.2008.10.30.5 +- Add a sample boot-duration for livecds and first time boots + (bug 469752) + * Mon Nov 3 2008 Jeremy Katz - 0.6.0-0.2008.10.30.4 - Allow pre-setting the default plugin when calling plymouth-populate-initrd