Bug#215453: ddetect, bad pattern match on module search
package: ddetect
version: 0.44
tags: d-i
The following line from hw-detect.sh
if find /lib/modules/`uname -r`/ | grep -q ${module}\\.o
is broken. On ia64 we don't have floppy.o but we do have ide-floppy.o.
When trying to load the floppy module, the above grep matches
ide-floppy.o and consequently it does a modprobe floppy and throws up an
error dialog. Fix will be something like:
- if find /lib/modules/`uname -r`/ | grep -q ${module}\\.o
+ if find /lib/modules/`uname -r`/ | grep -q /${module}\\.o$
I'll file a seperate bug to get ddetect to probe for ide-floppy as well.
Reply to: