forked from pool/kernel-source
This commit is contained in:
committed by
Git OBS Bridge
parent
d4ad2e2ea3
commit
e769c89f5e
@@ -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)
|
||||
|
Reference in New Issue
Block a user