packages: rc-scripts/rc-scripts.spec, rc-scripts/rc-local.service (NEW) - a...
arekm
arekm at pld-linux.org
Tue Nov 29 18:43:10 CET 2011
Author: arekm Date: Tue Nov 29 17:43:10 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- add rc-local.service
---- Files affected:
packages/rc-scripts:
rc-scripts.spec (1.373 -> 1.374) , rc-local.service (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/rc-scripts/rc-scripts.spec
diff -u packages/rc-scripts/rc-scripts.spec:1.373 packages/rc-scripts/rc-scripts.spec:1.374
--- packages/rc-scripts/rc-scripts.spec:1.373 Tue Nov 29 18:38:27 2011
+++ packages/rc-scripts/rc-scripts.spec Tue Nov 29 18:43:05 2011
@@ -16,6 +16,7 @@
Source0: ftp://distfiles.pld-linux.org/src/%{name}-%{version}.tar.gz
# Source0-md5: 00d0cbd7bb54c89fed07ebce20a4a0b7
Source1: rc-scripts-systemd-tmpfiles.d.conf
+Source2: rc-local.service
URL: http://svn.pld-linux.org/trac/svn/wiki/packages/rc-scripts
Patch0: %{name}-svn.patch
BuildRequires: autoconf
@@ -183,7 +184,9 @@
# make /etc/init.d symlink relative
ln -nfs rc.d/init.d $RPM_BUILD_ROOT/etc/init.d
+# systemd
install -D %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/rc-scripts.conf
+install -D %{SOURCE2} $RPM_BUILD_ROOT/lib/systemd/system/rc-local.service
%if "%{pld_release}" == "ac"
rm -rf $RPM_BUILD_ROOT/etc/init
@@ -306,6 +309,7 @@
%attr(755,root,root) /lib/firmware/firmware-loader.sh
/usr/lib/tmpfiles.d/rc-scripts.conf
+/lib/systemd/system/rc-local.service
%dir /lib/rc-scripts
%attr(755,root,root) /lib/rc-scripts/ifdown-br
@@ -385,6 +389,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.374 2011/11/29 17:43:05 arekm
+- add rc-local.service
+
Revision 1.373 2011/11/29 17:38:27 arekm
/var/run/netreport in /usr/lib/tmpfiles.d/rc-scripts.conf for systemd
================================================================
Index: packages/rc-scripts/rc-local.service
diff -u /dev/null packages/rc-scripts/rc-local.service:1.1
--- /dev/null Tue Nov 29 18:43:10 2011
+++ packages/rc-scripts/rc-local.service Tue Nov 29 18:43:05 2011
@@ -0,0 +1,18 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=/etc/rc.d/rc.local Compatibility
+ConditionFileIsExecutable=/etc/rc.d/rc.local
+
+[Service]
+Type=forking
+ExecStart=/etc/rc.d/rc.local start
+TimeoutSec=0
+StandardOutput=tty
+RemainAfterExit=yes
+SysVStartPriority=99
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rc-scripts/rc-scripts.spec?r1=1.373&r2=1.374&f=u
More information about the pld-cvs-commit
mailing list