[OE-core] [PATCH 33/33] kernel.bbclass: Add PACKAGE_WRITE_DEPS for postinst
Richard Purdie
richard.purdie at linuxfoundation.org
Thu Jan 19 22:53:15 UTC 2017
From: Jussi Kukkonen <jussi.kukkonen at intel.com>
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 <jussi.kukkonen at intel.com>
---
meta/classes/kernel.bbclass | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 3630042..f462b2f 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"
--
2.7.4
More information about the Openembedded-core
mailing list