[OE-core] [PATCH 8/8] busybox: add coreutils to RDEPENDS of busybox-ptest

ChenQi Qi.Chen at windriver.com
Thu Nov 15 09:38:28 UTC 2018


On 11/15/2018 05:23 PM, Richard Purdie wrote:
> On Thu, 2018-11-15 at 10:02 +0800, Chen Qi wrote:
>> busybox's echo test cases needs 'od' command to have '-t' option
>> support. However, our busybox disable it by default by not setting
>> CONFIG_DESKTOP. CONFIG_DESKTOP affects many busybox utilities. So
>> add coreutils to RDEPENDS of busybox-ptest.
>>
>> Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
>> ---
>>   meta/recipes-core/busybox/busybox.inc | 3 +++
>>   1 file changed, 3 insertions(+)
> This means any build of busybox will now also build coreutils which
> isn't really desirable.
>
> If there any way to just enable the -t option to od without all the
> other changes? Has this been mentioned to upstream busybox?
>
> Cheers,
>
> Richard
>
>

The current busybox codes are:
[snip]
#include "libbb.h"
#if ENABLE_DESKTOP
/* This one provides -t (busybox's own build script needs it) */
#include "od_bloaty.c"
#else
[snip]

So there's currently no way to just enable '-t' for 'od' without 
affecting other utilities.
I'll check with busybox upstream to see why they do so and if we could 
do some change.

Best Regards,
Chen Qi


More information about the Openembedded-core mailing list