1
0
forked from pool/kernel-source
OBS User unknown
2009-05-24 22:39:22 +00:00
committed by Git OBS Bridge
parent d4ad2e2ea3
commit e769c89f5e
28 changed files with 276 additions and 34 deletions

View File

@@ -10,13 +10,22 @@ flavor=${1##*-}
/usr/lib/rpm/find-provides "$@" <"$filelist"
(
grep '\.ko$' "$filelist" | \
xargs -r $sourcedir/symsets.pl --list-exported-symbols;
grep '/Module\.symvers$' "$filelist" | while read f; do
$sourcedir/symsets.pl --list-exported-symbols --symvers-file="$f"
done
) | awk -v flavor="$flavor" '
case `uname -m` in
ia64)
image="vmlinuz"
;;
*)
image="vmlinux"
esac
while read f; do
test -e "$f" || continue
case "$f" in
*.ko | */$image* )
echo "$f"
esac
done <"$filelist" | \
xargs -r $sourcedir/symsets.pl --list-exported-symbols | \
awk -v flavor="$flavor" '
{
sub(/^0x0*/, "", $1);
if (!$1)