[OE-core] [PATCH] bitbake.conf: add whoami to HOSTTOOLS

Richard Purdie richard.purdie at linuxfoundation.org
Wed Mar 29 22:24:56 UTC 2017


On Wed, 2017-03-29 at 23:09 +0200, Andreas Oberritter wrote:
> On Wed, 29 Mar 2017 22:45:17 +0200
> Andrea Adami <andrea.adami at gmail.com> wrote:
> 
> > 
> > Spotted in log do_compile of linux:
> > 
> >  /tmp/build/tmp-glibc/work-shared/c7x0/kernel-
> > source/scripts/mkcompile_h:
> >  line 46: whoami: command not found
> As an alternative, we could set KBUILD_BUILD_USER (and possibly
> KBUILD_BUILD_HOST) to a fixed or machine-based value in
> kernel.bbclass'
> EXTRA_OEMAKE variable, which could also improve the reproducibility
> of
> builds.

Agreed, I already suggested we should figure out how to pass in a
deterministic value and said I would not accept a patch to add whoami
to HOSTTOOLS.

Cheers,

Richard



More information about the Openembedded-core mailing list