Blame SOURCES/kabi.sh

eaaa62
#!/bin/sh +x
eaaa62
#
eaaa62
# kabi.sh - Automatically extract any kernel symbol checksum from the
eaaa62
#           symvers file and add to RPM deps.  This is used to move the
eaaa62
#           checksum checking from modprobe to rpm install for 3rd party
eaaa62
#           modules (so they can fail during install and not at load).
eaaa62
eaaa62
IFS=$'\n'
eaaa62
eaaa62
for symvers in $(grep -E '/boot/symvers-*') $*;
eaaa62
do
eaaa62
    zcat $symvers | awk ' {print "kernel(" $2 ") = " $1 }'
eaaa62
done