aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2017-01-19 09:57:22 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-19 22:51:07 +0000
commitca2626a78f44a253adf4e93a1eae0ea323a0196f (patch)
treea6dff5fa575ec0155f6cac5ce59a271adcde5062 /meta/recipes-kernel/linux
parent88540c5b08dea069660d1a68e506aebdd68e6ae0 (diff)
downloadopenembedded-core-contrib-ca2626a78f44a253adf4e93a1eae0ea323a0196f.tar.gz
linux-dtb: Add PACKAGE_WRITE_DEP for postinstall
update-alternatives is used in postinstall. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Diffstat (limited to 'meta/recipes-kernel/linux')
-rw-r--r--meta/recipes-kernel/linux/linux-dtb.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-dtb.inc b/meta/recipes-kernel/linux/linux-dtb.inc
index 0e720934bb..0174c80d85 100644
--- a/meta/recipes-kernel/linux/linux-dtb.inc
+++ b/meta/recipes-kernel/linux/linux-dtb.inc
@@ -1,6 +1,8 @@
# Support for device tree generation
FILES_kernel-devicetree = "/${KERNEL_IMAGEDEST}/devicetree*"
+PACKAGE_WRITE_DEPS += "virtual/update-alternatives-native"
+
python __anonymous () {
d.appendVar("PACKAGES", " kernel-devicetree")
}