浏览代码

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.

(From OE-Core rev: d693457f9de92e4e8b61881638787e831f0ca197)

Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Haris Okanovic 7 年之前
父节点
当前提交
d83a3f9a3f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb

+ 1 - 0
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() {