[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4149/8267] update-alternatives.bbclass: Add PACKAGE_WRITE_DEPS for postinst



commit 777ed33f443b8ce47295939b056555f171347614
Author: Jussi Kukkonen <jussi kukkonen intel com>
Date:   Thu Jan 19 10:47:13 2017 +0200

    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>

 meta/classes/update-alternatives.bbclass |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
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()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]