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>
This commit is contained in:
Richard Purdie 2017-01-19 17:01:10 +00:00
parent eae2dcd574
commit 70f4ad49a7
1 changed files with 2 additions and 0 deletions

View File

@ -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/
}