On 3/29/17 4:09 PM, Andreas Oberritter wrote: > On Wed, 29 Mar 2017 22:45:17 +0200 > Andrea Adami <andrea.ad...@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.
Yes, this is a good alternative. --Mark > Regards, > Andreas > > >> >> Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> >> --- >> meta/conf/bitbake.conf | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf >> index 96a9ed9..4f67413 100644 >> --- a/meta/conf/bitbake.conf >> +++ b/meta/conf/bitbake.conf >> @@ -462,7 +462,7 @@ HOSTTOOLS += " \ >> mktemp mv nm objcopy objdump od patch perl pod2man printf pwd python \ >> python2.7 python3 ranlib readelf readlink rm rmdir rpcgen sed sh sleep \ >> sort split stat strings strip tail tar tee test touch tr true uname >> uniq \ >> - wc wget which xargs \ >> + wc wget which whoami xargs \ >> " >> >> # Tools needed to run testimage runtime image testing > -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core