summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorPhil Blundell <pb@pbcl.net>2014-01-10 12:57:02 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-10 15:13:47 +0000
commite8db81e4655ab7535db04aa3c8d7f9868ced6039 (patch)
tree6fc9ca125862033477f81833aedd9d77463ac121 /meta
parente588ba009402be27c643f2596acea0f178d4e42f (diff)
downloadopenembedded-core-e8db81e4655ab7535db04aa3c8d7f9868ced6039.tar.gz
openembedded-core-e8db81e4655ab7535db04aa3c8d7f9868ced6039.tar.bz2
openembedded-core-e8db81e4655ab7535db04aa3c8d7f9868ced6039.zip
kernel-module-split: Remove extraneous call to depmod from module postinst
During rootfs construction, image.bbclass will call depmod after all the modules are installed. There's no need to run it from the postinst when operating in offline root mode. Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/kernel-module-split.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/kernel-module-split.bbclass b/meta/classes/kernel-module-split.bbclass
index 9a4329dcc9..d43f7431cb 100644
--- a/meta/classes/kernel-module-split.bbclass
+++ b/meta/classes/kernel-module-split.bbclass
@@ -2,7 +2,9 @@ pkg_postinst_modules () {
if [ -z "$D" ]; then
depmod -a ${KERNEL_VERSION}
else
- depmodwrapper -a -b $D ${KERNEL_VERSION}
+ # image.bbclass will call depmodwrapper after everything is installed,
+ # no need to do it here as well
+ :
fi
}