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>
This commit is contained in:
parent
b699afaeb8
commit
777ed33f44
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue