[OE-core] [PATCH v2] bitbake.conf: add coreutils to the HOSTTOOLS list

Anders Roxell anders.roxell at linaro.org
Thu Dec 13 12:39:37 UTC 2018


On Thu, 13 Dec 2018 at 11:58, Burton, Ross <ross.burton at 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 at 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 at 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
> >


More information about the Openembedded-core mailing list