aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-04-19 22:28:57 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2010-04-19 22:28:57 +0200
commit89fd09bf9e240e8d2e9307777d56ae56799789b2 (patch)
tree2d0e9c0dbaee3e01b3acf990311193ff2efddb26 /classes
parentb82f2e190517a02d7c1f7003e667dcf42f168834 (diff)
parent8104d8054ea49891b4a92f22ee3b13a70557ceb2 (diff)
downloadopenembedded-89fd09bf9e240e8d2e9307777d56ae56799789b2.tar.gz
Merge remote branch 'origin/org.openembedded.dev' into shr/unstable
Diffstat (limited to 'classes')
-rw-r--r--classes/module.bbclass9
1 files changed, 5 insertions, 4 deletions
diff --git a/classes/module.bbclass b/classes/module.bbclass
index eef98292a7..83463ac84c 100644
--- a/classes/module.bbclass
+++ b/classes/module.bbclass
@@ -24,11 +24,12 @@ module_do_install() {
}
pkg_postinst_append () {
- if [ -n "$D" ]; then
- exit 1
- fi
- depmod -a
+if [ -n "$D" ]; then
+ exit 1
+else
+ depmod -a ${KERNEL_VERSION}
update-modules || true
+fi
}
pkg_postrm_append () {