+++ /dev/null
-# 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
-After=network.target local-fs.target remote-fs.target
-
-[Service]
-Type=forking
-ExecStart=/etc/rc.d/init.d/local start
-ExecStop=-/bin/rm -f /var/lock/subsys/local
-TimeoutSec=0
-StandardOutput=tty
-RemainAfterExit=yes
-SysVStartPriority=99
Summary(pl.UTF-8): inittab i skrypty startowe z katalogu /etc/rc.d
Summary(tr.UTF-8): inittab ve /etc/rc.d dosyaları
Name: rc-scripts
-Version: 0.4.12
-Release: 5
+Version: 0.4.13
+Release: 1
License: GPL v2
Group: Base
Source0: %{name}-%{version}.tar.gz
-# Source0-md5: b52ca02678cb5f468972db06c6d032b0
-Source1: rc-local.service
-Source2: sys-chroots.service
-Source3: %{name}.tmpfiles
+# Source0-md5: 7df99aa887070a0d83a0daa28bf7deb9
Patch100: %{name}-tld.patch
Patch101: %{name}-no_tmpfs_root_fsck.patch
Patch102: %{name}-selinuxfs_mount.patch
URL: http://svn.pld-linux.org/trac/svn/wiki/packages/rc-scripts
BuildRequires: autoconf
BuildRequires: automake
-BuildRequires: gettext-devel
+BuildRequires: gettext-tools
BuildRequires: glib2-devel
%{?with_static:BuildRequires: glib2-static}
%{?with_static:BuildRequires: glibc-static}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/var/{run/netreport,log} \
- $RPM_BUILD_ROOT/etc/sysconfig/{interfaces/data,hwprofiles} \
- $RPM_BUILD_ROOT{%{systemdtmpfilesdir},%{systemdunitdir}}
+ $RPM_BUILD_ROOT/etc/sysconfig/{interfaces/data,hwprofiles}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
# make /etc/init.d symlink relative
ln -nfs rc.d/init.d $RPM_BUILD_ROOT/etc/init.d
-# systemd
-install %{SOURCE1} $RPM_BUILD_ROOT%{systemdunitdir}/rc-local.service
-ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/local.service
-install %{SOURCE2} $RPM_BUILD_ROOT%{systemdunitdir}/sys-chroots.service
-install %{SOURCE3} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
-
# packaged into SysVinit and systemd-init (supported options differ)
%{__rm} $RPM_BUILD_ROOT%{_mandir}/man5/crypttab.5
%attr(755,root,root) /lib/firmware/firmware-loader.sh
-%{systemdtmpfilesdir}/rc-scripts.conf
-%{systemdunitdir}/local.service
-%{systemdunitdir}/rc-local.service
-%{systemdunitdir}/sys-chroots.service
-
%dir /lib/rc-scripts
%attr(755,root,root) /lib/rc-scripts/ifdown-bond
%attr(755,root,root) /lib/rc-scripts/ifdown-br