diff mbox series

[v2] bitbake.conf: add coreutils to the HOSTTOOLS list

Message ID 20181213105006.19131-1-anders.roxell@linaro.org
State New
Headers show
Series [v2] bitbake.conf: add coreutils to the HOSTTOOLS list | expand

Commit Message

Anders Roxell Dec. 13, 2018, 10:50 a.m. UTC
In newer kernels fold gets used, see output from a build:

.../kernel-source/scripts/atomic/atomic-tbl.sh:
   line 183: fold: command not found

Rework so that coreutils is in the HOSTTOOLS list.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>

---
 meta/conf/bitbake.conf | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

-- 
2.19.2

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Comments

Ross Burton Dec. 13, 2018, 10:58 a.m. UTC | #1
Did you test this?  HOSTTOOLS is a list of commands, not packages.

Ross
On Thu, 13 Dec 2018 at 10:50, Anders Roxell <anders.roxell@linaro.org> wrote:
>

> In newer kernels fold gets used, see output from a build:

>

> .../kernel-source/scripts/atomic/atomic-tbl.sh:

>    line 183: fold: command not found

>

> Rework so that coreutils is in the HOSTTOOLS list.

>

> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>

> ---

>  meta/conf/bitbake.conf | 16 ++++++++--------

>  1 file changed, 8 insertions(+), 8 deletions(-)

>

> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf

> index 64800623545e..a825be4628b0 100644

> --- a/meta/conf/bitbake.conf

> +++ b/meta/conf/bitbake.conf

> @@ -478,14 +478,14 @@ HOSTTOOLS_DIR = "${TMPDIR}/hosttools"

>  # Tools needed to run builds with OE-Core

>  # python is special cased to point at python2

>  HOSTTOOLS += " \

> -    [ ar as awk basename bash bzip2 cat chgrp chmod chown chrpath cmp comm cp cpio \

> -    cpp cut date dd diff diffstat dirname du echo egrep env expand expr false \

> -    fgrep file find flock g++ gawk gcc getconf getopt git grep gunzip gzip \

> -    head hostname id install ld ldd ln ls make makeinfo md5sum mkdir mknod \

> -    mktemp mv nm objcopy objdump od patch perl pod2man pr printf pwd 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 \

> +    [ ar as awk basename bash bzip2 cat chgrp chmod chown chrpath cmp comm

> +    coreutils cp cpio cpp cut date dd diff diffstat dirname du echo egrep env

> +    expand expr false fgrep file find flock g++ gawk gcc getconf getopt git

> +    grep gunzip gzip head hostname id install ld ldd ln ls make makeinfo md5sum

> +    mkdir mknod mktemp mv nm objcopy objdump od patch perl pod2man pr printf

> +    pwd 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 \

>  "

>

>  # Tools needed to run testimage runtime image testing

> --

> 2.19.2

>

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Anders Roxell Dec. 13, 2018, 12:39 p.m. UTC | #2
On Thu, 13 Dec 2018 at 11:58, Burton, Ross <ross.burton@intel.com> wrote:
>

> Did you test this?


Yes, but _not_ I was in the wrong build.

I'm sorry. =/

Cheers,
Anders

>  HOSTTOOLS is a list of commands, not packages.

>

> Ross

> On Thu, 13 Dec 2018 at 10:50, Anders Roxell <anders.roxell@linaro.org> wrote:

> >

> > In newer kernels fold gets used, see output from a build:

> >

> > .../kernel-source/scripts/atomic/atomic-tbl.sh:

> >    line 183: fold: command not found

> >

> > Rework so that coreutils is in the HOSTTOOLS list.

> >

> > Signed-off-by: Anders Roxell <anders.roxell@linaro.org>

> > ---

> >  meta/conf/bitbake.conf | 16 ++++++++--------

> >  1 file changed, 8 insertions(+), 8 deletions(-)

> >

> > diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf

> > index 64800623545e..a825be4628b0 100644

> > --- a/meta/conf/bitbake.conf

> > +++ b/meta/conf/bitbake.conf

> > @@ -478,14 +478,14 @@ HOSTTOOLS_DIR = "${TMPDIR}/hosttools"

> >  # Tools needed to run builds with OE-Core

> >  # python is special cased to point at python2

> >  HOSTTOOLS += " \

> > -    [ ar as awk basename bash bzip2 cat chgrp chmod chown chrpath cmp comm cp cpio \

> > -    cpp cut date dd diff diffstat dirname du echo egrep env expand expr false \

> > -    fgrep file find flock g++ gawk gcc getconf getopt git grep gunzip gzip \

> > -    head hostname id install ld ldd ln ls make makeinfo md5sum mkdir mknod \

> > -    mktemp mv nm objcopy objdump od patch perl pod2man pr printf pwd 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 \

> > +    [ ar as awk basename bash bzip2 cat chgrp chmod chown chrpath cmp comm

> > +    coreutils cp cpio cpp cut date dd diff diffstat dirname du echo egrep env

> > +    expand expr false fgrep file find flock g++ gawk gcc getconf getopt git

> > +    grep gunzip gzip head hostname id install ld ldd ln ls make makeinfo md5sum

> > +    mkdir mknod mktemp mv nm objcopy objdump od patch perl pod2man pr printf

> > +    pwd 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 \

> >  "

> >

> >  # Tools needed to run testimage runtime image testing

> > --

> > 2.19.2

> >

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 64800623545e..a825be4628b0 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -478,14 +478,14 @@  HOSTTOOLS_DIR = "${TMPDIR}/hosttools"
 # Tools needed to run builds with OE-Core
 # python is special cased to point at python2
 HOSTTOOLS += " \
-    [ ar as awk basename bash bzip2 cat chgrp chmod chown chrpath cmp comm cp cpio \
-    cpp cut date dd diff diffstat dirname du echo egrep env expand expr false \
-    fgrep file find flock g++ gawk gcc getconf getopt git grep gunzip gzip \
-    head hostname id install ld ldd ln ls make makeinfo md5sum mkdir mknod \
-    mktemp mv nm objcopy objdump od patch perl pod2man pr printf pwd 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 \
+    [ ar as awk basename bash bzip2 cat chgrp chmod chown chrpath cmp comm
+    coreutils cp cpio cpp cut date dd diff diffstat dirname du echo egrep env
+    expand expr false fgrep file find flock g++ gawk gcc getconf getopt git
+    grep gunzip gzip head hostname id install ld ldd ln ls make makeinfo md5sum
+    mkdir mknod mktemp mv nm objcopy objdump od patch perl pod2man pr printf
+    pwd 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 \
 "
 
 # Tools needed to run testimage runtime image testing