On Mon, 2020-08-31 at 21:56 -0700, Khem Raj wrote: > This allows special recipes e.g. glibc to use update-alternatives, > glibc-utils e.g. provides packages like iconv, getconf which are also > provided by other packages e.g. toybox, which uses update-alternatives > but since glibc-utils does not use it, images which contain glibc-utils > and toybox fail to build, glibc-utils is commonly pulled into ptest > related images. This patch therefore will allow glibc-utils or > musl-utils use u-a > > Signed-off-by: Khem Raj <[email protected]> > --- > meta/classes/update-alternatives.bbclass | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/classes/update-alternatives.bbclass > b/meta/classes/update-alternatives.bbclass > index 8c2b66e7f1..ae393770f8 100644 > --- a/meta/classes/update-alternatives.bbclass > +++ b/meta/classes/update-alternatives.bbclass > @@ -86,7 +86,7 @@ def gen_updatealternativesvardeps(d): > 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'): > + if not 'virtual/update-alternatives' in d.getVar('PROVIDES') and not > d.getVar('INHIBIT_DEFAULT_DEPS'): > d.appendVar('DEPENDS', ' virtual/${MLPREFIX}update-alternatives') >
https://autobuilder.yoctoproject.org/typhoon/#/builders/44/builds/2408 (failure in step6b looks related to this) Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#142070): https://lists.openembedded.org/g/openembedded-core/message/142070 Mute This Topic: https://lists.openembedded.org/mt/76550482/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
