retitle 653036 gpm: kernel version detection in debconf script fails for kernel >= 3 severity 653036 important tags 653036 + patch thanks
Hi After checking the debconf script a bit further, I notice that the actual error conditions just triggers because this hunk fails to work properly on kernel >=3: case $KVER in Linux-2.6*) # Use the input layer by default. # The input layer also makes the gpm repeater rather moot. db_set gpm/device /dev/input/mice; db_set gpm/type exps2; db_set gpm/repeat_type none ;; esac The attached patch fixes the version check, although the version part of it could be removed just as well, given that kernel <<2.6(.32) isn't a supported configuration for Debian anymore. Regards Stefan Lippers-Hollmann
diff -u gpm-1.20.4/debian/gpm.config gpm-1.20.4/debian/gpm.config --- gpm-1.20.4/debian/gpm.config +++ gpm-1.20.4/debian/gpm.config @@ -30,7 +30,7 @@ db_set gpm/type autops2;; esac; case $KVER in - Linux-2.6*) + Linux-2.6*|Linux-[3-9]*) # Use the input layer by default. # The input layer also makes the gpm repeater rather moot. db_set gpm/device /dev/input/mice;
signature.asc
Description: This is a digitally signed message part.