]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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>
Fri, 20 Jan 2017 11:53:50 +0000 (11:53 +0000)
(From OE-Core rev: 00e1e87d0dcf13f3b30682f1fb066f7fa4eed205)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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()