From 00e1e87d0dcf13f3b30682f1fb066f7fa4eed205 Mon Sep 17 00:00:00 2001 From: Jussi Kukkonen Date: Thu, 19 Jan 2017 10:47:13 +0200 Subject: update-alternatives.bbclass: Add PACKAGE_WRITE_DEPS for postinst Signed-off-by: Jussi Kukkonen --- meta/classes/update-alternatives.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/classes') 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() -- cgit v1.2.3