packages: rc-scripts/rc-scripts.spec, rc-scripts/rc-scripts-svn.patch - rel...
arekm
arekm at pld-linux.org
Tue Nov 30 21:22:49 CET 2010
Author: arekm Date: Tue Nov 30 20:22:49 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- rel 2; cgroup fixes and crypto change from svn
---- Files affected:
packages/rc-scripts:
rc-scripts.spec (1.335 -> 1.336) , rc-scripts-svn.patch (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/rc-scripts/rc-scripts.spec
diff -u packages/rc-scripts/rc-scripts.spec:1.335 packages/rc-scripts/rc-scripts.spec:1.336
--- packages/rc-scripts/rc-scripts.spec:1.335 Sat Nov 6 11:50:11 2010
+++ packages/rc-scripts/rc-scripts.spec Tue Nov 30 21:22:44 2010
@@ -10,11 +10,12 @@
Summary(tr.UTF-8): inittab ve /etc/rc.d dosyaları
Name: rc-scripts
Version: 0.4.3.5
-Release: 1
+Release: 2
License: GPL v2
Group: Base
Source0: ftp://distfiles.pld-linux.org/src/%{name}-%{version}.tar.gz
# Source0-md5: 599cf1c5a381265b513d33258fd2069d
+Patch0: %{name}-svn.patch
URL: http://svn.pld-linux.org/cgi-bin/viewsvn/rc-scripts/
BuildRequires: autoconf
BuildRequires: automake
@@ -109,6 +110,7 @@
%prep
%setup -q
+%patch0 -p0
%build
%{__aclocal}
@@ -361,6 +363,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.336 2010/11/30 20:22:44 arekm
+- rel 2; cgroup fixes and crypto change from svn
+
Revision 1.335 2010/11/06 10:50:11 arekm
Updated to 0.4.3.5 (vserver netns support).
================================================================
Index: packages/rc-scripts/rc-scripts-svn.patch
diff -u /dev/null packages/rc-scripts/rc-scripts-svn.patch:1.3
--- /dev/null Tue Nov 30 21:22:49 2010
+++ packages/rc-scripts/rc-scripts-svn.patch Tue Nov 30 21:22:44 2010
@@ -0,0 +1,71 @@
+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
+@@ -342,10 +346,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 +466,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 +675,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
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rc-scripts/rc-scripts.spec?r1=1.335&r2=1.336&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rc-scripts/rc-scripts-svn.patch?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list