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

Mark Hatle mark.hatle at windriver.com
Wed Mar 29 21:06:07 UTC 2017


On 3/29/17 3:45 PM, Andrea Adami 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

We should not be embedding 'whoami' type information into compiled executables.

I'd almost suggest this is a bug in that specific program.  I'd prefer we remove
references to uname, whoami, etc.  (Things that are going to embed user specific
info.)

--Mark

> Signed-off-by: Andrea Adami <andrea.adami at 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
> 




More information about the Openembedded-core mailing list