summaryrefslogtreecommitdiffstats
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-20 11:53:50 +0000
commit777ed33f443b8ce47295939b056555f171347614 (patch)
treedcff2cb9139096372ec92f48b86bb0c5271c75de
parentb699afaeb8ffa28302bf1e796a18637f6ed41682 (diff)
downloadpoky-777ed33f443b8ce47295939b056555f171347614.tar.gz
update-alternatives.bbclass: Add PACKAGE_WRITE_DEPS for postinst
(From OE-Core rev: 00e1e87d0dcf13f3b30682f1fb066f7fa4eed205) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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"
65# and include that vairable in the set. 65# and include that vairable in the set.
66UPDALTVARS = "ALTERNATIVE ALTERNATIVE_LINK_NAME ALTERNATIVE_TARGET ALTERNATIVE_PRIORITY" 66UPDALTVARS = "ALTERNATIVE ALTERNATIVE_LINK_NAME ALTERNATIVE_TARGET ALTERNATIVE_PRIORITY"
67 67
68PACKAGE_WRITE_DEPS += "virtual/update-alternatives-native"
69
68def gen_updatealternativesvardeps(d): 70def gen_updatealternativesvardeps(d):
69 pkgs = (d.getVar("PACKAGES") or "").split() 71 pkgs = (d.getVar("PACKAGES") or "").split()
70 vars = (d.getVar("UPDALTVARS") or "").split() 72 vars = (d.getVar("UPDALTVARS") or "").split()