[OE-core] [PATCH 25/33] update-alternatives.bbclass: Add PACKAGE_WRITE_DEPS for postinst
Richard Purdie
richard.purdie at linuxfoundation.org
Thu Jan 19 22:53:07 UTC 2017
From: Jussi Kukkonen <jussi.kukkonen at intel.com>
Signed-off-by: Jussi Kukkonen <jussi.kukkonen at intel.com>
---
meta/classes/update-alternatives.bbclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/classes/update-alternatives.bbclass b/meta/classes/update-alternatives.bbclass
index a90ef19..ca7fe43 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()
--
2.7.4
More information about the Openembedded-core
mailing list