[OE-core] [PATCH 2/8] busybox: add support for CONFIG_FEATURE_INDIVIDUAL

Otavio Salvador otavio at ossystems.com.br
Fri Jun 7 12:33:31 UTC 2013


On Fri, Jun 7, 2013 at 3:13 AM, <Qi.Chen at windriver.com> wrote:

> From: Chen Qi <Qi.Chen at windriver.com>
>
> Previously, if CONFIG_FEATURE_INDIVIDUAL was enabled for busybox,
> yocto-based systems could start correctly.
>
> This is because if busybox is built as individual apps, '/bin/busybox'
> may not be present, so setting the default ALTERNATIVE_TARGET to
> '/bin/busybox' is not appropriate and could lead to errors.
>
> This patch fixes this problem by checking the existence of '/bin/busybox'
> before setting the ALTERNATIVE_TARGET to '/bin/busybox'.
>
> After this change, if busybox is built as individual apps, we'll have
> links like '/bin/ls -> /bin/ls.busybox', otherwise, we'll have links
> like '/bin/ls -> /bin/busybox'.
>
> Note there's a grep expression change in this patch. The old expression
> doesn't work well, it has an unwanted underscore, so I changed it to make
> it work.
>
> [YOCTO #4570]
>
> Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
>

Please rework 1/8 and reduce the changes here. This will be easier to test
and review this way.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130607/dc97bd16/attachment-0002.html>


More information about the Openembedded-core mailing list