[OE-core] [master][pyro][PATCH] bitbake.conf: Add whoami to HOSTTOOLS

Denys Dmytriyenko denis at denix.org
Sun Jun 11 18:44:00 UTC 2017


On Sun, Jun 11, 2017 at 10:22:58AM -0700, Khem Raj wrote:
> On Sun, Jun 11, 2017 at 9:58 AM, Jonathan Liu <net147 at gmail.com> wrote:
> > The whoami command is used when building the Linux kernel in
> > scripts/mkcompile_h to embed the build user that is visible
> > in /proc/version.
> >
> > Signed-off-by: Jonathan Liu <net147 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 3ad905c917..4f20aa3d1c 100644
> > --- a/meta/conf/bitbake.conf
> > +++ b/meta/conf/bitbake.conf
> > @@ -465,7 +465,7 @@ HOSTTOOLS += " \
> >      mktemp mv nm objcopy objdump od patch perl pod2man pr printf pwd python python2 \
> >      python2.7 python3 ranlib readelf readlink rm rmdir rpcgen sed sh sha256sum \
> >      sleep sort split stat strings strip tail tar tee test touch tr true uname \
> > -    uniq wc wget which xargs \
> > +    uniq wc wget which whoami xargs \
> 
> I think it might be better to not use whoami at all to begin with, it
> might be good for reproducibility too.

There was this whole discussion about adding whoami couple months ago - 
Richard won't accept the change:

http://lists.openembedded.org/pipermail/openembedded-core/2017-March/134878.html

-- 
Denys



More information about the Openembedded-core mailing list