summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 b431f8e1d..b30ed36ba 100644
--- a/meta-oe/classes/kernel.bbclass
+++ b/meta-oe/classes/kernel.bbclass
@@ -276,13 +276,13 @@ fi
276if [ -n "$D" ]; then 276if [ -n "$D" ]; then
277 depmod -a -b $D -F ${STAGING_KERNEL_DIR}/System.map-${KERNEL_VERSION} ${KERNEL_VERSION} 277 depmod -a -b $D -F ${STAGING_KERNEL_DIR}/System.map-${KERNEL_VERSION} ${KERNEL_VERSION}
278else 278else
279 depmod -a 279 depmod -a ${KERNEL_VERSION}
280fi 280fi
281} 281}
282 282
283pkg_postinst_modules () { 283pkg_postinst_modules () {
284if [ -z "$D" ]; then 284if [ -z "$D" ]; then
285 depmod -a 285 depmod -a ${KERNEL_VERSION}
286 update-modules || true 286 update-modules || true
287fi 287fi
288} 288}