summaryrefslogtreecommitdiffstats
path: root/meta/classes
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-20 11:53:50 +0000
commit70f4ad49a74f902b17e69764c9d78e4e60085b62 (patch)
tree46f51fb140bd4fb5906a7421f5b21bd7c638a807 /meta/classes
parenteae2dcd5742d9aaad743c7b9e954afe3605f4aec (diff)
downloadpoky-70f4ad49a74f902b17e69764c9d78e4e60085b62.tar.gz
kernel-module-split: Add PACKAGE_WRITE_DEPS for postinst
The postinstall needs kmod-native and depmodwrapper-cross, mark these dependencies. (From OE-Core rev: 0e4f5eb4f8443ed98d7c8aaf0b999c5618b7cf25) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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
22fi 22fi
23} 23}
24 24
25PACKAGE_WRITE_DEPS += "kmod-native depmodwrapper-cross"
26
25do_install_append() { 27do_install_append() {
26 install -d ${D}${sysconfdir}/modules-load.d/ ${D}${sysconfdir}/modprobe.d/ 28 install -d ${D}${sysconfdir}/modules-load.d/ ${D}${sysconfdir}/modprobe.d/
27} 29}