diff options
author | Haris Okanovic <haris.okanovic@ni.com> | 2018-05-09 09:59:58 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-11 07:49:38 +0100 |
commit | d83a3f9a3f1be8ea6e9a620b390c97a59f281e36 (patch) | |
tree | ed6321bf7cf3095e709bfce04a1b58ae3054008b /meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb | |
parent | 8d9d88d662de6f4815eb1cc654dd6d59c51dd7e4 (diff) | |
download | poky-d83a3f9a3f1be8ea6e9a620b390c97a59f281e36.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.
(From OE-Core rev: d693457f9de92e4e8b61881638787e831f0ca197)
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/depmodwrapper-cross_1.0.bb')
-rw-r--r-- | meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb | 1 |
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 48f012918a..9a172675af 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}" | |||
11 | SSTATE_SCAN_FILES += "depmodwrapper" | 11 | SSTATE_SCAN_FILES += "depmodwrapper" |
12 | EXTRA_STAGING_FIXMES += "PKGDATA_DIR" | 12 | EXTRA_STAGING_FIXMES += "PKGDATA_DIR" |
13 | 13 | ||
14 | DEPENDS += "kmod-native" | ||
14 | do_populate_sysroot[depends] = "" | 15 | do_populate_sysroot[depends] = "" |
15 | 16 | ||
16 | do_install() { | 17 | do_install() { |