[Lunar-commits] <moonbase> procps: Fix "unknown HZ" errors thrown around at boot time.

Auke Kok sofar at foo-projects.org
Tue Oct 5 06:25:09 CEST 2010


commit e7ac85d883437b72ffbdbca10faa27b6fc661af6
Author: Auke Kok <sofar at foo-projects.org>
Date:   Tue Oct 5 06:25:09 2010 +0200

    procps: Fix "unknown HZ" errors thrown around at boot time.
    
    Patch from gentoo, from debian
---
 utils/procps/BUILD   |    9 +++++----
 utils/procps/DETAILS |    7 ++++---
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/utils/procps/BUILD b/utils/procps/BUILD
index 5baaab7..10db073 100644
--- a/utils/procps/BUILD
+++ b/utils/procps/BUILD
@@ -1,5 +1,7 @@
 (
-  
+
+  patch_it $SOURCE2 1 &&
+
   # Fix for make 3.82
   sedit "s;*/module.mk;proc/module.mk ps/module.mk;" Makefile &&
   sedit "s/\/usr\/bin/\/bin/g" Makefile           &&
@@ -12,13 +14,12 @@
     rm -f /etc/init.d/sysctl.sh                   &&
     rm -f /etc/rcS.d/S99sysctl
   fi                                              &&
-  
+
   cp $SCRIPT_DIRECTORY/init.d/sysctl /etc/init.d  &&
   ln -sf ../init.d/sysctl /etc/rcS.d/S99sysctl    &&
 
   if [ ! -e /etc/sysctl.conf ] ; then
     install -g0 -o0 -m0600 $SCRIPT_DIRECTORY/sysctl.conf /etc
   fi
-  
-) > $C_FIFO 2>&1
 
+) > $C_FIFO 2>&1
diff --git a/utils/procps/DETAILS b/utils/procps/DETAILS
index 7cf10c9..cbe8114 100644
--- a/utils/procps/DETAILS
+++ b/utils/procps/DETAILS
@@ -1,13 +1,14 @@
           MODULE=procps
          VERSION=3.2.8
           SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=procps_fix_unknown_hz-30_sysctl_7numbers.patch
       SOURCE_URL=http://procps.sourceforge.net
+     SOURCE2_URL=$PATCH_URL/
       SOURCE_VFY=sha1:a0c86790569dec26b5d9037e8868ca907acc9829
         WEB_SITE=http://procps.sourceforge.net
          ENTERED=20010922
-         UPDATED=20090511
-        SHORT="procps contains utilities to report the state of the box"
-
+         UPDATED=20101004
+        SHORT="contains utilities to report the state of the box"
 cat << EOF
 procps is a package of utilities which report on the state of the system, 
 including the states of running processes, amount of memory available and 


More information about the Lunar-commits mailing list