Comment on attachment 806084 [details]
Hack for rpm-config-SUSE
There are quite a few more places where the module names without compression
suffix are hardcoded:
driver-check.sh: exec 3< <(sed -rn
's:^(/lib/modules)?/([^/]*)/(.*\.ko)$:\1 \2 \3:p' \
driver-check.sh:modules=($(find /lib/modules/ -name '*.ko'))
kmp-install: return unless $path =~
m@^/lib/modules/([^/]+)/.*/([^/]+\.ko)$@;
kmp-install: next unless $file =~ m@^/lib/modules/.*/.*/.*\.ko$@;
weak-modules: find /lib/modules/$module_krel/updates -name '*.ko' \
weak-modules: module=${module%.ko}
weak-modules: for module in $(find /lib/modules/$krel/updates -name '*.ko');
do
weak-modules2: sed -rn 's:.*\<lib/modules/.*/([^/]*\.ko)$:\1:p'
weak-modules2: | grep -Ee '^/lib/modules/[^/]+/.+\.ko$' \
weak-modules2: local initrd_basenames=($( (lsinitrd /boot/initrd-$krel |
filter_basenames; INITRD_MODULES=; . /etc/sysconfig/kernel &>/dev/null; printf
'%s.ko\n' $INITRD_MODULES) | sort -u))