RE: [OE-core] [PATCH 2/3] bitbake.conf: add getopt to HOSTTOOLS

Peter Kjellerstedt
2024-09-02T10:10:08Z

> -----Original Message-----
> From: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> On Behalf Of Mikko Rapeli
> Sent: den 2 september 2024 11:41
> To: openembedded-core@lists.openembedded.org
> Cc: Mikko Rapeli <mikko.rapeli@linaro.org>
> Subject: [OE-core] [PATCH 2/3] bitbake.conf: add getopt to HOSTTOOLS

You are adding getent, not getopt.

>
> Needed by systemd-tools-native
>
> Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
> ---
> 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 d8252c5b82..a8c630e7f8 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -511,7 +511,7 @@ HOSTTOOLS_DIR = "${TMPDIR}/hosttools"
> HOSTTOOLS += " \
> [ ar as awk basename bash bunzip2 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 \
> + fgrep file find flock g++ gawk getent gcc getconf getopt git grep gunzip gzip \

Keep the commands sorted.

> head hostname iconv id install ld ldd ln ls lz4c make md5sum mkdir mkfifo mknod \
> mktemp mv nm objcopy objdump od patch perl pr printf pwd \
> python3 pzstd ranlib readelf readlink realpath rm rmdir rpcgen sed seq sh \
> --
> 2.34.1

//Peter