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

Andrea Adami andrea.adami at gmail.com
Wed Mar 29 22:52:40 UTC 2017


On Thu, Mar 30, 2017 at 12:24 AM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> 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

Hello,

well, I'm all for reproducible builds.
But there is the fact that this is the standard kernel behavior and we
never limited the user choices about how to build/configure a kernel.

Cheers
Andrea



More information about the Openembedded-core mailing list