diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2017-01-19 10:47:13 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-20 11:53:50 +0000 |
commit | 777ed33f443b8ce47295939b056555f171347614 (patch) | |
tree | dcff2cb9139096372ec92f48b86bb0c5271c75de | |
parent | b699afaeb8ffa28302bf1e796a18637f6ed41682 (diff) | |
download | poky-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.bbclass | 2 |
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. |
66 | UPDALTVARS = "ALTERNATIVE ALTERNATIVE_LINK_NAME ALTERNATIVE_TARGET ALTERNATIVE_PRIORITY" | 66 | UPDALTVARS = "ALTERNATIVE ALTERNATIVE_LINK_NAME ALTERNATIVE_TARGET ALTERNATIVE_PRIORITY" |
67 | 67 | ||
68 | PACKAGE_WRITE_DEPS += "virtual/update-alternatives-native" | ||
69 | |||
68 | def gen_updatealternativesvardeps(d): | 70 | def 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() |