]> git.pld-linux.org Git - packages/rc-scripts.git/commitdiff
- rel 2; cgroup/cpuset can be commented out in fstab auto/th/rc-scripts-0_4_3_7-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 22 Dec 2010 05:59:32 +0000 (05:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rc-scripts-svn.patch -> 1.6
    rc-scripts.spec -> 1.340

rc-scripts-svn.patch [new file with mode: 0644]
rc-scripts.spec

diff --git a/rc-scripts-svn.patch b/rc-scripts-svn.patch
new file mode 100644 (file)
index 0000000..3e9fe5e
--- /dev/null
@@ -0,0 +1,22 @@
+Index: rc.d/rc.sysinit
+===================================================================
+--- rc.d/rc.sysinit    (wersja 12018)
++++ rc.d/rc.sysinit    (kopia robocza)
+@@ -272,7 +272,7 @@
+       # cgroup/cpuset support
+       if grep -q cgroup /proc/filesystems 2>/dev/null ; then
+-              if ! grep -q cgroup /etc/fstab 2>/dev/null ; then
++              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
+@@ -280,7 +280,7 @@
+                       mount -n -t cgroup none /dev/cgroup
+               fi
+       elif grep -q cpuset /proc/filesystems 2>/dev/null ; then
+-              if ! grep -q cpuset /etc/fstab 2>/dev/null ; then
++              if ! grep -q "^[^#].*cpuset" /etc/fstab 2>/dev/null ; then
+                       mount -n -t cpuset none /dev/cpuset
+               fi
+       fi
index c6047ec57a21e4ac58fd4becfd054d6a07292cdc..082be36a817382b8bd9a8dedbf8f8007e80e342a 100644 (file)
@@ -9,11 +9,12 @@ 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.7
-Release:       1
+Release:       2
 License:       GPL v2
 Group:         Base
 Source0:       ftp://distfiles.pld-linux.org/src/%{name}-%{version}.tar.gz
 # Source0-md5: 6f349b3c5e74e538e14eaab389625643
+Patch0:                %{name}-svn.patch
 URL:           http://svn.pld-linux.org/cgi-bin/viewsvn/rc-scripts/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -108,6 +109,7 @@ programcıklar içerir.
 
 %prep
 %setup -q
+%patch0 -p0
 
 %build
 %{__aclocal}
This page took 0.297208 seconds and 4 git commands to generate.