summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2017-01-19 10:47:13 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-19 22:51:09 +0000
commit00e1e87d0dcf13f3b30682f1fb066f7fa4eed205 (patch)
tree4fa7778988d685359bf36181784fec3126ee2b30
parent0db5328ee2a80152904b9f82b738f92e9e38da55 (diff)
downloadopenembedded-core-00e1e87d0dcf13f3b30682f1fb066f7fa4eed205.tar.gz
openembedded-core-00e1e87d0dcf13f3b30682f1fb066f7fa4eed205.tar.bz2
openembedded-core-00e1e87d0dcf13f3b30682f1fb066f7fa4eed205.zip
update-alternatives.bbclass: Add PACKAGE_WRITE_DEPS for postinst
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
-rw-r--r--meta/classes/update-alternatives.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/update-alternatives.bbclass b/meta/classes/update-alternatives.bbclass
index a90ef19e45..ca7fe43417 100644
--- a/meta/classes/update-alternatives.bbclass
+++ b/meta/classes/update-alternatives.bbclass
@@ -65,6 +65,8 @@ ALTERNATIVE_PRIORITY = "10"
# and include that vairable in the set.
UPDALTVARS = "ALTERNATIVE ALTERNATIVE_LINK_NAME ALTERNATIVE_TARGET ALTERNATIVE_PRIORITY"
+PACKAGE_WRITE_DEPS += "virtual/update-alternatives-native"
+
def gen_updatealternativesvardeps(d):
pkgs = (d.getVar("PACKAGES") or "").split()
vars = (d.getVar("UPDALTVARS") or "").split()