[OE-core] [PATCH] busybox: conditional inclusion of login utilities

Christopher Larson clarson at kergoth.com
Thu Jan 26 16:55:17 UTC 2017


On Thu, Jan 26, 2017 at 9:45 AM, David Vincent <freesilicon at gmail.com>
wrote:

> diff --git a/meta/recipes-core/busybox/busybox_git.bb
> b/meta/recipes-core/busybox/busybox_git.bb
> index c2ee3e6c4b..4213ef4b1e 100644
> --- a/meta/recipes-core/busybox/busybox_git.bb
> +++ b/meta/recipes-core/busybox/busybox_git.bb
> @@ -31,7 +31,7 @@ SRC_URI = "git://busybox.net/busybox.git \
>             file://run-ptest \
>             file://inetd.conf \
>             file://inetd \
> -           file://login-utilities.cfg \
> +           ${@["", "file://login-utilities.cfg"][
> (d.getVar('VIRTUAL-RUNTIME_login_manager') == 'busybox')]} \
>             file://recognize
>

Question, why not use ${PN} here?
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170126/48b2ee9e/attachment-0002.html>


More information about the Openembedded-core mailing list