small patch to fix android ndk build of busybox

Denys Vlasenko vda.linux at googlemail.com
Thu Jan 5 13:27:56 UTC 2012


On Wed, Jan 4, 2012 at 5:49 PM, Hin-Tak Leung
<htl10 at users.sourceforge.net> wrote:
> Hi,
>
> I cannot see why or since when this change is needed since the last time I built busybox ( a few months ago), as neither configs/android2_defconfig nor libpwdgrp nor libbb has changed much recently; but the change seems to be correct or at least should cause no harm, so here it is.

> CONFIG_USE_BB_PWD_GRP=y

This will make bbox use internal parsing routines for /etc/passwd
and /etc/group files - because we expect to live on a ordinary Unix.

My understanding is that Android does not HAVE those files,
so using internal parsing routines which expect them is
a wrong thing to do.

So I am not applying the patch - need to understand the problem better.

Can you elaborate - what exactly does not compile for you?

-- 
vda


More information about the busybox mailing list