From: Jussi Kukkonen Date: Thu, 19 Jan 2017 15:45:43 +0000 (+0200) Subject: kernel.bbclass: Add PACKAGE_WRITE_DEPS for postinst X-Git-Tag: uninative-1.5~750 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=e3f5290d8deba9b7cead73b52ac45a37228fece9;p=openembedded-core.git kernel.bbclass: Add PACKAGE_WRITE_DEPS for postinst The depmodwrapper dependency is not actually used by the class but anyone using pkg_postinst_kernel-base() will need it. Signed-off-by: Jussi Kukkonen --- diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 3630042dbd..f462b2ff41 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -1,7 +1,8 @@ inherit linux-kernel-base kernel-module-split PROVIDES += "virtual/kernel" -DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc kmod-native depmodwrapper-cross bc-native lzop-native" +DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc kmod-native bc-native lzop-native" +PACKAGE_WRITE_DEPS += "depmodwrapper-cross virtual/update-alternatives-native" S = "${STAGING_KERNEL_DIR}" B = "${WORKDIR}/build"