]> git.pld-linux.org Git - packages/rc-scripts.git/commitdiff
- up to 0.4.3.6
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 3 Dec 2010 11:50:41 +0000 (11:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rc-scripts-svn.patch -> 1.5
    rc-scripts.spec -> 1.338

rc-scripts-svn.patch [deleted file]
rc-scripts.spec

diff --git a/rc-scripts-svn.patch b/rc-scripts-svn.patch
deleted file mode 100644 (file)
index f0e032f..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-Index: rc.d/rc.sysinit
-===================================================================
---- rc.d/rc.sysinit    (wersja 11895)
-+++ rc.d/rc.sysinit    (kopia robocza)
-@@ -272,13 +272,17 @@
-       # cgroup/cpuset support
-       if grep -q cgroup /proc/filesystems 2>/dev/null ; then
--              # creating is more convenient than artificial conflict with older udev
--              mkdir -p /dev/cgroup
--              # mount w/o options enables all available cgroup subsystems
--              modprobe -s blk-cgroup 2> /dev/null
--              mount -n -t cgroup none /dev/cgroup
-+              if ! grep -q cgroup /etc/fstab 2>/dev/null ; then
-+                      # creating is more convenient than artificial conflict with older udev
-+                      mkdir -p /dev/cgroup
-+                      # mount w/o options enables all available cgroup subsystems
-+                      modprobe -s blk-cgroup 2> /dev/null
-+                      mount -n -t cgroup none /dev/cgroup
-+              fi
-       elif grep -q cpuset /proc/filesystems 2>/dev/null ; then
--              mount -n -t cpuset none /dev/cpuset
-+              if ! grep -q cpuset /etc/fstab 2>/dev/null ; then
-+                      mount -n -t cpuset none /dev/cpuset
-+              fi
-       fi
-       # Configure Linux kernel (initial configuration, some required modules still
-@@ -335,6 +339,7 @@
-               TIME_SETUP_DELAYED=yes
-       fi
-+      delay_cryptsetup=0
-       if [ -f /etc/crypttab ] && ! is_empty_file /etc/crypttab; then
-               # XXX might need modules dep
-               # Device mapper & related initialization
-@@ -342,10 +347,11 @@
-                       modprobe dm-mod
-               fi
--              # but should do this before swapon?
-               . /etc/rc.d/init.d/cryptsetup
-               show "Starting disk encryption"
--              init_crypto 0 && ok || fail
-+              init_crypto 0
-+              delay_cryptsetup=$?
-+              [ $delay_cryptsetup = 0 ] && ok || fail
-       fi
-       # Start up swapping
-@@ -461,10 +467,11 @@
-               done
-       fi
--      if [ -f /etc/crypttab ] && ! is_empty_file /etc/crypttab; then
--              # XXX, this must be probably done after random is initialized from /var/run/random-seed
-+      if [ "$delay_cryptsetup" != 0 ]; then
-               show "Starting disk encryption using the RNG"
--              init_crypto 1 && ok || fail
-+              init_crypto 1
-+              delay_cryptsetup=$?
-+              [ $delay_cryptsetup = 0 ] && ok || fail
-       fi
- else
-       # Start logging console output since we have all /dev stuff setup
-@@ -669,6 +676,13 @@
-               fi
-       fi
-+      if [ "$delay_cryptsetup" != 0 ]; then
-+              show "Starting disk encryption"
-+              init_crypto 1
-+              delay_cryptsetup=$?
-+              [ $delay_cryptsetup = 0 ] && ok || fail
-+      fi
-+
-       # Add raid devices
-       if [ -x /sbin/mdadm -a -f /etc/mdadm.conf ] || [ -f /etc/raidtab ]; then
-               modprobe -s md >/dev/null 2>&1
index 5cd080209e92b88a559a6f68a9229e45f2e372bd..5c40ff7b49a54e2db12da410d6be70ff89c336d0 100644 (file)
@@ -8,13 +8,12 @@ Summary(fr.UTF-8):    inittab et scripts /etc/rc.d
 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.3.5
-Release:       3
+Version:       0.4.3.6
+Release:       1
 License:       GPL v2
 Group:         Base
 Source0:       ftp://distfiles.pld-linux.org/src/%{name}-%{version}.tar.gz
-# Source0-md5: 599cf1c5a381265b513d33258fd2069d
-Patch0:                %{name}-svn.patch
+# Source0-md5: ef74f5a0b99b12f8a4c630f2b02f04bb
 URL:           http://svn.pld-linux.org/cgi-bin/viewsvn/rc-scripts/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -109,7 +108,6 @@ programcıklar içerir.
 
 %prep
 %setup -q
-%patch0 -p0
 
 %build
 %{__aclocal}
@@ -136,6 +134,7 @@ done
 
 for i in 2 3 4 5; do
        ln -s ../init.d/local $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S99local
+       ln -s ../init.d/netfs $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S25netfs
        ln -s ../init.d/network $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S10network
        ln -s ../init.d/allowlogin $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S99allowlogin
        ln -s ../init.d/sys-chroots $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S99sys-chroots
@@ -160,6 +159,7 @@ for i in 0 6; do
 done
 
 for i in 0 1 6; do
+       ln -s ../init.d/netfs $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K75netfs
        ln -s ../init.d/network $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K90network
        ln -s ../init.d/allowlogin $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K01allowlogin
        ln -s ../init.d/sys-chroots $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K01sys-chroots
@@ -228,6 +228,7 @@ mv -f /etc/sysconfig/network-scripts/ifcfg-* /etc/sysconfig/interfaces
 %attr(754,root,root) /etc/rc.d/init.d/cryptsetup
 %attr(754,root,root) /etc/rc.d/init.d/killall
 %attr(754,root,root) /etc/rc.d/init.d/local
+%attr(754,root,root) /etc/rc.d/init.d/netfs
 %attr(754,root,root) /etc/rc.d/init.d/network
 %attr(754,root,root) /etc/rc.d/init.d/random
 %attr(754,root,root) /etc/rc.d/init.d/single
@@ -242,6 +243,7 @@ mv -f /etc/sysconfig/network-scripts/ifcfg-* /etc/sysconfig/interfaces
 %attr(754,root,root) /etc/rc.d/rc?.d/K??cpusets
 %attr(754,root,root) /etc/rc.d/rc?.d/K??killall
 %attr(754,root,root) /etc/rc.d/rc?.d/K??local
+%attr(754,root,root) /etc/rc.d/rc?.d/K??netfs
 %attr(754,root,root) /etc/rc.d/rc?.d/K??network
 %attr(754,root,root) /etc/rc.d/rc?.d/K??random
 %attr(754,root,root) /etc/rc.d/rc?.d/K??single
@@ -250,6 +252,7 @@ mv -f /etc/sysconfig/network-scripts/ifcfg-* /etc/sysconfig/interfaces
 %attr(754,root,root) /etc/rc.d/rc?.d/S??cpusets
 %attr(754,root,root) /etc/rc.d/rc?.d/S??killall
 %attr(754,root,root) /etc/rc.d/rc?.d/S??local
+%attr(754,root,root) /etc/rc.d/rc?.d/S??netfs
 %attr(754,root,root) /etc/rc.d/rc?.d/S??network
 %attr(754,root,root) /etc/rc.d/rc?.d/S??random
 %attr(754,root,root) /etc/rc.d/rc?.d/S??single
This page took 0.051031 seconds and 4 git commands to generate.