]> code.ossystems Code Review - openembedded-core.git/commitdiff
update-alternatives.bbclass: Add PACKAGE_WRITE_DEPS for postinst
authorJussi Kukkonen <jussi.kukkonen@intel.com>
Thu, 19 Jan 2017 08:47:13 +0000 (10:47 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jan 2017 22:51:09 +0000 (22:51 +0000)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
meta/classes/update-alternatives.bbclass

index a90ef19e45ec7201457cd2603e4427abd763383b..ca7fe43417492ba3566e701ebd5e2b460b3a9a2e 100644 (file)
@@ -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()