On Fri, Jun 7, 2013 at 3:13 AM, <[email protected]> wrote: > From: Chen Qi <[email protected]> > > 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 <[email protected]> >
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
_______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
