summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-19 17:01:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-19 22:50:16 +0000
commit0e4f5eb4f8443ed98d7c8aaf0b999c5618b7cf25 (patch)
tree0d8b9b85026d600c5f732542bc4a420660b43a89 /meta
parentd62e9fe21a47f5b38278a9b12b73d617c29d3c4f (diff)
downloadopenembedded-core-0e4f5eb4f8443ed98d7c8aaf0b999c5618b7cf25.tar.gz
openembedded-core-0e4f5eb4f8443ed98d7c8aaf0b999c5618b7cf25.tar.bz2
openembedded-core-0e4f5eb4f8443ed98d7c8aaf0b999c5618b7cf25.zip
kernel-module-split: Add PACKAGE_WRITE_DEPS for postinst
The postinstall needs kmod-native and depmodwrapper-cross, mark these dependencies. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/kernel-module-split.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/kernel-module-split.bbclass b/meta/classes/kernel-module-split.bbclass
index 742320cee2..49cd8e944c 100644
--- a/meta/classes/kernel-module-split.bbclass
+++ b/meta/classes/kernel-module-split.bbclass
@@ -22,6 +22,8 @@ if [ x"$D" = "x" ]; then
fi
}
+PACKAGE_WRITE_DEPS += "kmod-native depmodwrapper-cross"
+
do_install_append() {
install -d ${D}${sysconfdir}/modules-load.d/ ${D}${sysconfdir}/modprobe.d/
}