HEX
Server: Apache
System: Linux cds-alphanode.dnscapweb.net 4.18.0-553.63.1.el8_10.x86_64 #1 SMP Mon Jul 21 10:37:28 EDT 2025 x86_64
User: marvidson (1030)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //lib/rpm/kabi.sh
#!/bin/bash +x
#
# kabi.sh - Automatically extract any kernel symbol checksum from the
#           symvers file and add to RPM deps.  This is used to move the
#           checksum checking from modprobe to rpm install for 3rd party
#           modules (so they can fail during install and not at load).

IFS=$'\n'

for symvers in $(grep -E '(/boot/symvers-.*|/lib/modules/[1-9].*/symvers)\.gz') "$@";
do
    zcat $symvers | awk ' {print "kernel(" $2 ") = " $1 }'
done