On lundi 6 mars 2017 13:48:22 CET Burton, Ross wrote:
> On 6 March 2017 at 08:31, David Vincent <[email protected]> wrote:
> > +           ${@["", "file://login-utilities.cfg"][(d.getVar('VIRTUAL-
> > RUNTIME_login_manager') == 'busybox')]} \
> 
> VIRTUAL_RUNTIME can be set per-image, so you can't do this.
> 
> Ross

I just copied the lines already present in the recipe (and I also forgot to 
modify the git version on a side note) :

${@[””, "file://init.cfg"][(d.getVar('VIRTUAL-RUNTIME_init_manager', True) == 
'busybox')]} \
 ${@["", "file://mdev.cfg"][(d.getVar('VIRTUAL-RUNTIME_dev_manager', True) == 
'busybox-mdev')]} \

So, what should be the proper way to conditionally include these fragments ?

I don't know for init and dev managers, but for login-utilities, my use case 
is that I don't want busybox to provide adduser/addgroup/... if I already have 
these provided by another package (e.g. Shadow).

David
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to