]> code.ossystems Code Review - openembedded-core.git/commitdiff
depmodwrapper-cross: Add kmod-native to DEPENDS
authorHaris Okanovic <haris.okanovic@ni.com>
Wed, 9 May 2018 14:59:58 +0000 (09:59 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 Jun 2018 10:37:46 +0000 (11:37 +0100)
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.

(From OE-Core rev: d693457f9de92e4e8b61881638787e831f0ca197)

Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb

index 48f012918a452af131edffe52ba3d223b13bd7a7..9a172675af13fbee064cf844fbf36695526fd649 100644 (file)
@@ -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() {