mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
update-alternatives.bbclass: fix old override syntax
Function 'gen_updatealternativesvardeps' still used old override syntax when fetching variable flags. Update to use ':' instead to match recipe meta data. This was found by review and no real issue encountered but it is a bug that affects variable dependencies and can affect rebuilds as task hashes might not be accurate. (From OE-Core rev: d5fd577c066fa2fddbd16c286f2dde2883cc7828) Signed-off-by: Peter Bergin <peter.bergin@windriver.com> Signed-off-by: Peter Bergin <peter@berginkonsult.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5691f554b2cd50f256a8cbb1d96781e9eb6b930e) Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
parent
115d07b2d4
commit
53e8446fe7
|
|
@ -80,10 +80,10 @@ def gen_updatealternativesvardeps(d):
|
|||
|
||||
for p in pkgs:
|
||||
for v in vars:
|
||||
for flag in sorted((d.getVarFlags("%s_%s" % (v,p)) or {}).keys()):
|
||||
for flag in sorted((d.getVarFlags("%s:%s" % (v,p)) or {}).keys()):
|
||||
if flag == "doc" or flag == "vardeps" or flag == "vardepsexp":
|
||||
continue
|
||||
d.appendVar('%s_VARDEPS_%s' % (v,p), ' %s:%s' % (flag, d.getVarFlag('%s_%s' % (v,p), flag, False)))
|
||||
d.appendVar('%s_VARDEPS_%s' % (v,p), ' %s:%s' % (flag, d.getVarFlag('%s:%s' % (v,p), flag, False)))
|
||||
|
||||
def ua_extend_depends(d):
|
||||
if not 'virtual/update-alternatives' in d.getVar('PROVIDES'):
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user