config_cpu(): support x86 in cpufreq detection
authorMichael Prokop <mika@grml.org>
Sun, 25 Mar 2007 12:08:56 +0000 (14:08 +0200)
committerMichael Prokop <mika@grml.org>
Sun, 25 Mar 2007 12:08:56 +0000 (14:08 +0200)
autoconfig.functions
debian/changelog

index d8499ae..ea906fb 100755 (executable)
@@ -1213,7 +1213,8 @@ if checkbootparam "nocpu"; then
 else
   if ! [ -x /etc/init.d/powernowd ] ; then
     ewarn "Skipping CPU detection as powernowd dependencies are not fulfilled." ; eend 1
-  elif [ ! -e /lib/modules/${KERNEL}/kernel/arch/i386/kernel/cpu/cpufreq -o ! -e /lib/modules/${KERNEL}/kernel/drivers/cpufreq ] ; then
+  elif [ ! -e /lib/modules/${KERNEL}/kernel/arch/i386/kernel/cpu/cpufreq -o ! -e /lib/modules/${KERNEL}/kernel/drivers/cpufreq -o ! -e \
+         /lib/modules/${KERNEL}/kernel/arch/x86_64/kernel/cpufreq ] ; then
     ewarn "Skipping CPU detection as module dependencies are not fulfilled." ; eend 1
   else
     if [[ `grep -c processor /proc/cpuinfo` -gt 1 ]] ; then
index abca98c..2ef2492 100644 (file)
@@ -1,6 +1,7 @@
 grml-autoconfig (0.6.24) unstable; urgency=low
 
   * config_vmware(): fix small syntax error.
+  * config_cpu(): support x86 in cpufreq detection
 
  -- Michael Prokop <mika@grml.org>  Sun, 25 Mar 2007 13:25:15 +0200