redhat-rpm-config/find-provides.ksyms
2006-10-12 03:33:42 +00:00

10 lines
174 B
Bash
Executable File

#! /bin/sh
IFS=$'\n'
for module in $(grep -E '/lib/modules/.+\.ko$'); do
nm $module \
| sed -r -ne 's:^0*([0-9a-f]+) A __crc_(.+):ksym(\2) = \1:p'
done \
| sort -u