Package: kernel-package Version: 10.065 Severity: minor Tags: patch The correct command is: grep -c ^processor /proc/cpuinfo The currently shown command always returns 0.
See attached patch. -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-3-amd64 Locale: LANG=sv_FI.UTF-8, LC_CTYPE=sv_FI.UTF-8 (charmap=UTF-8) Versions of packages kernel-package depends on: ii dpkg 1.13.24 package maintenance system for Deb ii dpkg-dev 1.13.24 package building tools for Debian ii file 4.17-5 Determines file type using "magic" ii gcc [c-compiler] 4:4.1.1-13 The GNU C compiler ii gcc-3.4 [c-compiler] 3.4.6-4 The GNU C compiler ii gcc-4.1 [c-compiler] 4.1.1-19 The GNU C compiler ii gettext 0.16.1-1 GNU Internationalization utilities ii make 3.81-2 The GNU version of the "make" util ii perl 5.8.8-7 Larry Wall's Practical Extraction ii po-debconf 1.0.7 manage translated Debconf template Versions of packages kernel-package recommends: ii bzip2 1.0.3-6 high-quality block-sorting file co ii libc6-dev [libc-dev] 2.3.6.ds1-8 GNU C Library: Development Librari -- no debconf information
--- make-kpkg.8~ 2006-10-01 23:13:12.000000000 +0300 +++ make-kpkg.8 2006-12-23 05:58:55.000000000 +0200 @@ -458,7 +458,7 @@ .B make\-kpkg. Should be a (small) integer, if used. You can get the current number of CPUs using the command: - "grep \-c '^processor' /proc/cpuinfo" + "grep \-c ^processor /proc/cpuinfo" .B WARNING: Do NOT set the \-j option in MAKEFLAGS directly, this shall call the build to fail.