aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2017-01-19 17:45:43 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-19 22:51:11 +0000
commite3f5290d8deba9b7cead73b52ac45a37228fece9 (patch)
treee5d3a0efdfbad961d637489e3ce49e7ca2b9a392 /meta/classes/kernel.bbclass
parent3a2c08f77f0b477414ac8f6e4df93ee0df3afec2 (diff)
downloadopenembedded-core-contrib-e3f5290d8deba9b7cead73b52ac45a37228fece9.tar.gz
openembedded-core-contrib-e3f5290d8deba9b7cead73b52ac45a37228fece9.tar.bz2
openembedded-core-contrib-e3f5290d8deba9b7cead73b52ac45a37228fece9.zip
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 <jussi.kukkonen@intel.com>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass3
1 files changed, 2 insertions, 1 deletions
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"