rpms/libcgroup/F-13 fedora-fix-initscripts.patch,1.2,1.3
Jan Šafránek
jsafrane at fedoraproject.org
Thu Jun 24 10:42:12 UTC 2010
- Previous message: rpms/libcgroup/F-13 libcgroup.spec,1.21,1.22
- Next message: rpms/gimp/F-12 import.log, NONE, 1.1 .cvsignore, 1.54, 1.55 gimp.spec, 1.201, 1.202 sources, 1.54, 1.55 gimp-2.6.8-gtk219.patch, 1.1, NONE gimp-2.6.8-indexed-pnm.patch, 1.1, NONE gimp-2.6.8-never-stack-trace-desktop.patch, 1.1, NONE gimp-plugin-mgr.in, 1.3, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jsafrane
Update of /cvs/pkgs/rpms/libcgroup/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv20128
Added Files:
fedora-fix-initscripts.patch
Log Message:
Relax the dependency on redhat-lsb
Resolves: #607189
fedora-fix-initscripts.patch:
cgconfig.in | 11 ++++++++++-
cgred.in | 10 +++++++++-
2 files changed, 19 insertions(+), 2 deletions(-)
Index: fedora-fix-initscripts.patch
===================================================================
RCS file: fedora-fix-initscripts.patch
diff -N fedora-fix-initscripts.patch
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ fedora-fix-initscripts.patch 24 Jun 2010 10:42:12 -0000 1.3
@@ -0,0 +1,46 @@
+Remove depencency on LSB. The redhat-lsb package pulls lot of dependencies
+we do not care about (like X11, QT, ...). We want libcgroup to be able to
+run without this bloat.
+
+From: Jan Safranek <jsafrane at redhat.com>
+diff -up libcgroup-0.36.2/scripts/init.d/cgconfig.in.lsb libcgroup-0.36.2/scripts/init.d/cgconfig.in
+--- libcgroup-0.36.2/scripts/init.d/cgconfig.in.lsb 2010-03-11 13:05:16.000000000 +0100
++++ libcgroup-0.36.2/scripts/init.d/cgconfig.in 2010-06-22 14:33:43.000000000 +0200
+@@ -44,7 +44,16 @@ servicename=cgconfig
+ #
+ # Source LSB routines
+ #
+-. /lib/lsb/init-functions
++. /etc/rc.d/init.d/functions
++log_success_msg () {
++ echo -n $*; success "$*"; echo
++}
++log_failure_msg () {
++ echo -n $*; failure "$*"; echo
++}
++log_warning_msg () {
++ echo -n $*; warning "$*"; echo
++}
+
+ # read the config
+ CREATE_DEFAULT=yes
+diff -up libcgroup-0.36.2/scripts/init.d/cgred.in.lsb libcgroup-0.36.2/scripts/init.d/cgred.in
+--- libcgroup-0.36.2/scripts/init.d/cgred.in.lsb 2010-01-17 00:27:36.000000000 +0100
++++ libcgroup-0.36.2/scripts/init.d/cgred.in 2010-06-22 14:33:43.000000000 +0200
+@@ -40,7 +40,15 @@ CGRED_BIN=$sbindir/cgrulesengd
+
+ # Source function library & LSB routines
+ . /etc/rc.d/init.d/functions
+-. /lib/lsb/init-functions
++log_success_msg () {
++ echo -n $*; success "$*"; echo
++}
++log_failure_msg () {
++ echo -n $*; failure "$*"; echo
++}
++log_warning_msg () {
++ echo -n $*; warning "$*"; echo
++}
+
+ # Read in configuration options.
+ if [ -f "/etc/sysconfig/cgred.conf" ] ; then
- Previous message: rpms/libcgroup/F-13 libcgroup.spec,1.21,1.22
- Next message: rpms/gimp/F-12 import.log, NONE, 1.1 .cvsignore, 1.54, 1.55 gimp.spec, 1.201, 1.202 sources, 1.54, 1.55 gimp-2.6.8-gtk219.patch, 1.1, NONE gimp-2.6.8-indexed-pnm.patch, 1.1, NONE gimp-2.6.8-never-stack-trace-desktop.patch, 1.1, NONE gimp-plugin-mgr.in, 1.3, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list