Openembedded Core Discussions
 help / color / mirror / Atom feed
* [master][pyro][PATCH] bitbake.conf: Add whoami to HOSTTOOLS
@ 2017-06-11 16:58 Jonathan Liu
  2017-06-11 17:22 ` Khem Raj
  2017-06-11 19:17 ` Burton, Ross
  0 siblings, 2 replies; 7+ messages in thread
From: Jonathan Liu @ 2017-06-11 16:58 UTC (permalink / raw)
  To: openembedded-core

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@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 \
 "
 
 # Tools needed to run testimage runtime image testing
-- 
2.12.2



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [master][pyro][PATCH] bitbake.conf: Add whoami to HOSTTOOLS
  2017-06-11 16:58 [master][pyro][PATCH] bitbake.conf: Add whoami to HOSTTOOLS Jonathan Liu
@ 2017-06-11 17:22 ` Khem Raj
  2017-06-11 18:44   ` Denys Dmytriyenko
  2017-06-11 19:17 ` Burton, Ross
  1 sibling, 1 reply; 7+ messages in thread
From: Khem Raj @ 2017-06-11 17:22 UTC (permalink / raw)
  To: Jonathan Liu; +Cc: Patches and discussions about the oe-core layer

On Sun, Jun 11, 2017 at 9:58 AM, Jonathan Liu <net147@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@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.

>  "
>
>  # Tools needed to run testimage runtime image testing
> --
> 2.12.2
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [master][pyro][PATCH] bitbake.conf: Add whoami to HOSTTOOLS
  2017-06-11 17:22 ` Khem Raj
@ 2017-06-11 18:44   ` Denys Dmytriyenko
  0 siblings, 0 replies; 7+ messages in thread
From: Denys Dmytriyenko @ 2017-06-11 18:44 UTC (permalink / raw)
  To: Khem Raj; +Cc: Patches and discussions about the oe-core layer

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@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@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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [master][pyro][PATCH] bitbake.conf: Add whoami to HOSTTOOLS
  2017-06-11 16:58 [master][pyro][PATCH] bitbake.conf: Add whoami to HOSTTOOLS Jonathan Liu
  2017-06-11 17:22 ` Khem Raj
@ 2017-06-11 19:17 ` Burton, Ross
  2017-06-11 19:59   ` Denys Dmytriyenko
  1 sibling, 1 reply; 7+ messages in thread
From: Burton, Ross @ 2017-06-11 19:17 UTC (permalink / raw)
  To: Jonathan Liu; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 409 bytes --]

On 11 June 2017 at 17:58, Jonathan Liu <net147@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.
>

Not if you have oe-core a5a14edb5573e33667b63b1e34cb4e19d075e8e8, in theory
at least.  Unless you have an entirely from-scratch recipe that doesn't use
kernel.bbclass, I guess.

Ross

[-- Attachment #2: Type: text/html, Size: 905 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [master][pyro][PATCH] bitbake.conf: Add whoami to HOSTTOOLS
  2017-06-11 19:17 ` Burton, Ross
@ 2017-06-11 19:59   ` Denys Dmytriyenko
  2017-06-11 22:01     ` Richard Purdie
  0 siblings, 1 reply; 7+ messages in thread
From: Denys Dmytriyenko @ 2017-06-11 19:59 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core

On Sun, Jun 11, 2017 at 08:17:09PM +0100, Burton, Ross wrote:
> On 11 June 2017 at 17:58, Jonathan Liu <net147@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.
> >
> 
> Not if you have oe-core a5a14edb5573e33667b63b1e34cb4e19d075e8e8, in theory
> at least.  Unless you have an entirely from-scratch recipe that doesn't use
> kernel.bbclass, I guess.

Not in pyro - care to backport?

-- 
Denys


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [master][pyro][PATCH] bitbake.conf: Add whoami to HOSTTOOLS
  2017-06-11 19:59   ` Denys Dmytriyenko
@ 2017-06-11 22:01     ` Richard Purdie
  2017-06-11 22:04       ` Denys Dmytriyenko
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Purdie @ 2017-06-11 22:01 UTC (permalink / raw)
  To: Denys Dmytriyenko, Burton, Ross; +Cc: OE-core

On Sun, 2017-06-11 at 15:59 -0400, Denys Dmytriyenko wrote:
> On Sun, Jun 11, 2017 at 08:17:09PM +0100, Burton, Ross wrote:
> > 
> > On 11 June 2017 at 17:58, Jonathan Liu <net147@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.
> > > 
> > Not if you have oe-core a5a14edb5573e33667b63b1e34cb4e19d075e8e8,
> > in theory
> > at least.  Unless you have an entirely from-scratch recipe that
> > doesn't use
> > kernel.bbclass, I guess.
> Not in pyro - care to backport?

I've backported this onto the pyro branch.

Cheers,

Richard


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [master][pyro][PATCH] bitbake.conf: Add whoami to HOSTTOOLS
  2017-06-11 22:01     ` Richard Purdie
@ 2017-06-11 22:04       ` Denys Dmytriyenko
  0 siblings, 0 replies; 7+ messages in thread
From: Denys Dmytriyenko @ 2017-06-11 22:04 UTC (permalink / raw)
  To: Richard Purdie; +Cc: OE-core

On Sun, Jun 11, 2017 at 11:01:20PM +0100, Richard Purdie wrote:
> On Sun, 2017-06-11 at 15:59 -0400, Denys Dmytriyenko wrote:
> > On Sun, Jun 11, 2017 at 08:17:09PM +0100, Burton, Ross wrote:
> > > 
> > > On 11 June 2017 at 17:58, Jonathan Liu <net147@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.
> > > > 
> > > Not if you have oe-core a5a14edb5573e33667b63b1e34cb4e19d075e8e8,
> > > in theory
> > > at least.  Unless you have an entirely from-scratch recipe that
> > > doesn't use
> > > kernel.bbclass, I guess.
> > Not in pyro - care to backport?
> 
> I've backported this onto the pyro branch.

Thanks! I guess I've missed it...

-- 
Denys


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-06-11 22:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-11 16:58 [master][pyro][PATCH] bitbake.conf: Add whoami to HOSTTOOLS Jonathan Liu
2017-06-11 17:22 ` Khem Raj
2017-06-11 18:44   ` Denys Dmytriyenko
2017-06-11 19:17 ` Burton, Ross
2017-06-11 19:59   ` Denys Dmytriyenko
2017-06-11 22:01     ` Richard Purdie
2017-06-11 22:04       ` Denys Dmytriyenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox