aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/classes')
-rw-r--r--meta-oe/classes/kernel.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/classes/kernel.bbclass b/meta-oe/classes/kernel.bbclass
index b431f8e1d5d..b30ed36ba62 100644
--- a/meta-oe/classes/kernel.bbclass
+++ b/meta-oe/classes/kernel.bbclass
@@ -276,13 +276,13 @@ fi
if [ -n "$D" ]; then
depmod -a -b $D -F ${STAGING_KERNEL_DIR}/System.map-${KERNEL_VERSION} ${KERNEL_VERSION}
else
- depmod -a
+ depmod -a ${KERNEL_VERSION}
fi
}
pkg_postinst_modules () {
if [ -z "$D" ]; then
- depmod -a
+ depmod -a ${KERNEL_VERSION}
update-modules || true
fi
}