fix containers running depmod for 6.11 kernels

This commit is contained in:
Tobias Powalowski 2024-09-24 16:40:24 +02:00
parent a29ae71e47
commit 45fd5fa37c

View file

@ -258,7 +258,7 @@ _set_hostname() {
_depmod() {
echo "Running depmod..."
_KERNELVERSION="$(_kver $(basename ${1}/lib/modules/*))"
_KERNELVERSION="$(basename ${1}/lib/modules/*))"
${_NSPAWN} "${1}" depmod "${_KERNELVERSION}"
}