Skip to contentSkip to conversation

bitbake.conf: add coreutils to the HOSTTOOLS list

PATCH In review Anders Roxell 2 participants 3 messages Dec 13, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 bitbake.conf: add coreutils to the HOSTTOOLS list

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.

---
 meta/conf/bitbake.conf | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
meta/conf/bitbake.conf +8 -8
index 64800623545e..a825be4628b0 100644
@@ -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
Signature · 1 line
2.19.2
#1 lore raw

Did you test this? HOSTTOOLS is a list of commands, not packages.

Ross

Quoted 43 lines · Anders Roxell

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.

---
 meta/conf/bitbake.conf | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
meta/conf/bitbake.conf +8 -9
index 64800623545e..a825be4628b0 100644
@@ -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

#2 lore raw
Quoted 2 lines · Ross

Did you test this?

Yes, but _not_ I was in the wrong build.

I'm sorry. =/

Cheers,
Anders

Quoted 47 lines

HOSTTOOLS is a list of commands, not packages.

Ross

Quoted 43 lines · Anders Roxell

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.

---
 meta/conf/bitbake.conf | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
meta/conf/bitbake.conf +8 -9
index 64800623545e..a825be4628b0 100644
@@ -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