summaryrefslogtreecommitdiff
path: root/classes/kernel.bbclass
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2010-03-04 22:51:13 +0000
committerPhil Blundell <philb@gnu.org>2010-03-04 22:51:13 +0000
commitfdf8185913576006aa3c69bd132fb247d0a869bf (patch)
tree69fc8d4b276b6ac9ad8198478e8feea6cf9d9693 /classes/kernel.bbclass
parent1ae7c5f36d8a6a94053ba4d7919fb7daf9ff2ae1 (diff)
parent78c7106f99efcbabc9ccc00343c87a900644cda3 (diff)
Merge branch 'org.openembedded.dev' of new.openembedded.org:openembedded into org.openembedded.dev
Diffstat (limited to 'classes/kernel.bbclass')
-rw-r--r--classes/kernel.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 3a52a067cc..69ab422c43 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -267,7 +267,7 @@ fi
if [ -n "$D" ]; then
${HOST_PREFIX}depmod-${KERNEL_MAJOR_VERSION} -A -b $D -F ${STAGING_KERNEL_DIR}/System.map-${KERNEL_VERSION} ${KERNEL_VERSION}
else
- depmod -a
+ depmod -a ${KERNEL_VERSION}
fi
}
@@ -275,7 +275,7 @@ pkg_postinst_modules () {
if [ -n "$D" ]; then
${HOST_PREFIX}depmod-${KERNEL_MAJOR_VERSION} -A -b $D -F ${STAGING_KERNEL_DIR}/System.map-${KERNEL_VERSION} ${KERNEL_VERSION}
else
- depmod -a
+ depmod -a ${KERNEL_VERSION}
update-modules || true
fi
}