diff options
Diffstat (limited to 'meta/classes/update-alternatives.bbclass')
-rw-r--r-- | meta/classes/update-alternatives.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/update-alternatives.bbclass b/meta/classes/update-alternatives.bbclass index 70a818572c..1fdd681315 100644 --- a/meta/classes/update-alternatives.bbclass +++ b/meta/classes/update-alternatives.bbclass | |||
@@ -71,14 +71,14 @@ def gen_updatealternativesvardeps(d): | |||
71 | 71 | ||
72 | # First compute them for non_pkg versions | 72 | # First compute them for non_pkg versions |
73 | for v in vars: | 73 | for v in vars: |
74 | for flag in (d.getVarFlags(v) or {}): | 74 | for flag in sorted((d.getVarFlags(v) or {}).keys()): |
75 | if flag == "doc" or flag == "vardeps" or flag == "vardepsexp": | 75 | if flag == "doc" or flag == "vardeps" or flag == "vardepsexp": |
76 | continue | 76 | continue |
77 | d.appendVar('%s_VARDEPS' % (v), ' %s:%s' % (flag, d.getVarFlag(v, flag, False))) | 77 | d.appendVar('%s_VARDEPS' % (v), ' %s:%s' % (flag, d.getVarFlag(v, flag, False))) |
78 | 78 | ||
79 | for p in pkgs: | 79 | for p in pkgs: |
80 | for v in vars: | 80 | for v in vars: |
81 | for flag in (d.getVarFlags("%s_%s" % (v,p)) or {}): | 81 | for flag in sorted((d.getVarFlags("%s_%s" % (v,p)) or {}).keys()): |
82 | if flag == "doc" or flag == "vardeps" or flag == "vardepsexp": | 82 | if flag == "doc" or flag == "vardeps" or flag == "vardepsexp": |
83 | continue | 83 | continue |
84 | d.appendVar('%s_VARDEPS_%s' % (v,p), ' %s:%s' % (flag, d.getVarFlag('%s_%s' % (v,p), flag, False))) | 84 | d.appendVar('%s_VARDEPS_%s' % (v,p), ' %s:%s' % (flag, d.getVarFlag('%s_%s' % (v,p), flag, False))) |