summaryrefslogtreecommitdiff
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
parent88540c5b08dea069660d1a68e506aebdd68e6ae0 (diff)
downloadopenembedded-core-ca2626a78f44a253adf4e93a1eae0ea323a0196f.tar.gz
openembedded-core-ca2626a78f44a253adf4e93a1eae0ea323a0196f.tar.bz2
openembedded-core-ca2626a78f44a253adf4e93a1eae0ea323a0196f.zip
linux-dtb: Add PACKAGE_WRITE_DEP for postinstall
update-alternatives is used in postinstall. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
-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")
}