mirror of
https://git.yoctoproject.org/poky
synced 2026-09-24 22:36:21 +02:00
update-alternatives: Ensure DEPENDS is correct in multilib case
Ensure that the DEPENDS we're adding is correct in the multilib case by including MLPREFIX, fixing unnecessary dependencies in those images. (From OE-Core rev: 1fa8909e24866ffada75daf63225c8daa000b9be) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -169,7 +169,7 @@ def gen_updatealternativesvardeps(d):
|
|||||||
|
|
||||||
def ua_extend_depends(d):
|
def ua_extend_depends(d):
|
||||||
if not 'virtual/update-alternatives' in d.getVar('PROVIDES', True):
|
if not 'virtual/update-alternatives' in d.getVar('PROVIDES', True):
|
||||||
d.appendVar('DEPENDS', ' virtual/update-alternatives')
|
d.appendVar('DEPENDS', ' virtual/${MLPREFIX}update-alternatives')
|
||||||
|
|
||||||
python __anonymous() {
|
python __anonymous() {
|
||||||
# Update Alternatives only works on target packages...
|
# Update Alternatives only works on target packages...
|
||||||
|
|||||||
Reference in New Issue
Block a user