Comment # 18 on bug 1135854 from
(In reply to Michal Suchanek from comment #17)
> 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))

weak-modules is deprecated, so we don't need to care, I guess.

I couldn't find driver-check.sh and kmp-install, though...  Where are these?

Through grep, I see that fileattrs/* need fixes.  Will work on them...


You are receiving this mail because: