summaryrefslogtreecommitdiffstats
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:16:51 +0000
commit8b0be3ffb865d5918ed633c4b030640006d18984 (patch)
tree10f62628b0426594e34d6c83cf5445cf4b03d3aa
parent21c5cb7d8872eb050feb0bd00bd17476ad6cc6b9 (diff)
downloadpoky-8b0be3ffb865d5918ed633c4b030640006d18984.tar.gz
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. (From OE-Core rev: e8db81e4655ab7535db04aa3c8d7f9868ced6039) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 () {
2if [ -z "$D" ]; then 2if [ -z "$D" ]; then
3 depmod -a ${KERNEL_VERSION} 3 depmod -a ${KERNEL_VERSION}
4else 4else
5 depmodwrapper -a -b $D ${KERNEL_VERSION} 5 # image.bbclass will call depmodwrapper after everything is installed,
6 # no need to do it here as well
7 :
6fi 8fi
7} 9}
8 10