aboutgitcode
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-10-20 11:58:29 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-10-20 11:58:29 +0200
commit6420ae4530a867275df8e29a28ab0a334d0071d3 (patch)
treea923ba9152bb6520286f11d408d25a65cc0c72e2
parent2a6417132a6f139cd6b4c138f853f1a3b17eabeb (diff)
downloadmbuto-6420ae4530a867275df8e29a28ab0a334d0071d3.tar
mbuto-6420ae4530a867275df8e29a28ab0a334d0071d3.tar.gz
mbuto-6420ae4530a867275df8e29a28ab0a334d0071d3.tar.bz2
mbuto-6420ae4530a867275df8e29a28ab0a334d0071d3.tar.lz
mbuto-6420ae4530a867275df8e29a28ab0a334d0071d3.tar.xz
mbuto-6420ae4530a867275df8e29a28ab0a334d0071d3.tar.zst
mbuto-6420ae4530a867275df8e29a28ab0a334d0071d3.zip
mbuto: Pass kernel version to depmod
...otherwise, it will fail for a kernel version which is not the currently running one. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rwxr-xr-xmbuto2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbuto b/mbuto
index 9fa81f7..151d68d 100755
--- a/mbuto
+++ b/mbuto
@@ -564,7 +564,7 @@ kmod_post() {
"${CP}" -a "${MODDIR}/lib/modules/${KERNEL}/modules.order" \
"${MODDIR}/lib/modules/${KERNEL}/modules.builtin" \
"${wd}/lib/modules/${KERNEL}"
- "${DEPMOD}" -b "${wd}"
+ "${DEPMOD}" -b "${wd}" "${KERNEL}"
}
################################################################################