forked from pool/crash
Build a kmp package. OBS-URL: https://build.opensuse.org/request/show/87399 OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/crash?expand=0&rev=178
7 lines
221 B
Bash
7 lines
221 B
Bash
# Need to call depmod when the list of modules changes
|
|
for kernelrelease in $KERNELRELEASES; do
|
|
if [ -e /boot/System.map-$kernelrelease ]; then
|
|
depmod -a -F /boot/System.map-$kernelrelease $kernelrelease
|
|
fi
|
|
done
|