From: Richard Purdie Date: Thu, 19 Jan 2017 17:01:10 +0000 (+0000) Subject: kernel-module-split: Add PACKAGE_WRITE_DEPS for postinst X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=70f4ad49a74f902b17e69764c9d78e4e60085b62;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/classes/kernel-module-split.bbclass b/meta/classes/kernel-module-split.bbclass index 742320cee21..49cd8e944c7 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/ }