[OE-core] Fwd: [PATCH] busybox: conditional inclusion of login utilities
David Vincent
freesilicon at gmail.com
Mon Mar 6 13:32:34 UTC 2017
On lundi 6 mars 2017 13:48:22 CET Burton, Ross wrote:
> On 6 March 2017 at 08:31, David Vincent <freesilicon at gmail.com> 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
More information about the Openembedded-core
mailing list