summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/kmod
diff options
context:
space:
mode:
authorHaris Okanovic <haris.okanovic@ni.com>2018-05-09 09:59:58 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-11 07:49:32 +0100
commitd693457f9de92e4e8b61881638787e831f0ca197 (patch)
treee02d20e5cd1d0749472abc8b326a47d76443c218 /meta/recipes-kernel/kmod
parenta7a1e3155287d3bac7ab83e58d53ee2a364f2e29 (diff)
downloadopenembedded-core-contrib-d693457f9de92e4e8b61881638787e831f0ca197.tar.gz
depmodwrapper-cross: Add kmod-native to DEPENDS
Add `DEPENDS += "kmod-native"` to ensure depmod utility is added to recipe-sysroot-native during image build. Without this dependency, image builds where BUILD_IMAGES_FROM_FEEDS=1 have depmodwrapper in recipe-sysroot-native but are missing depmod. Kernel postinst scripts rely on depmod (via depmodwrapper) to index newly installed modules. Signed-off-by: Haris Okanovic <haris.okanovic@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/kmod')
-rw-r--r--meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb b/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb
index 48f012918a4..9a172675af1 100644
--- a/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb
+++ b/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb
@@ -11,6 +11,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
SSTATE_SCAN_FILES += "depmodwrapper"
EXTRA_STAGING_FIXMES += "PKGDATA_DIR"
+DEPENDS += "kmod-native"
do_populate_sysroot[depends] = ""
do_install() {