All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sumit Garg" <sumit.garg@linaro.org>
To: meta-arm@lists.yoctoproject.org
Cc: Denys Dmytriyenko <denys@ti.com>
Subject: Re: [meta-arm] [PATCH 4/4] external-arm-toolchain: drop unnecessary RDEPENDS on bash
Date: Thu, 30 Apr 2020 16:11:52 +0530	[thread overview]
Message-ID: <CAFA6WYPpDzS7nv6q9bqfE8rLkQba99n6bs9tMV2OK_f1U8Gs_w@mail.gmail.com> (raw)
In-Reply-To: <1588219828-34791-4-git-send-email-denis@denix.org>

On Thu, 30 Apr 2020 at 09:40, Denys Dmytriyenko <denis@denix.org> wrote:
>
> From: Denys Dmytriyenko <denys@ti.com>
>
> The 2 scripts that still have /bin/bash shebang are ldd and tzselect. But
> it seems upstream had fixed all bashisms in those scripts in recent years
> and OE-Core versions of those scripts use /bin/sh already.
>
> Dropping these unnecessary RDEPENDS on bash actually significantly prunes
> dependency tree for simple BSP builds like u-boot, etc.
>
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
>  .../external-arm-toolchain/external-arm-toolchain.bb                 | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
>

Reviewed-by: Sumit Garg <sumit.garg@linaro.org>

> diff --git a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb
> index adb2fdd..af75e6a 100644
> --- a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb
> +++ b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb
> @@ -114,6 +114,8 @@ do_install() {
>         rm -rf ${D}${bindir}/gdbserver
>         sed -i -e 's#/arm/tools/gnu/bash/4.2/rhe6-x86_64##' ${D}${bindir}/tzselect
>         sed -i -e 's#/arm/tools/gnu/bash/4.2/rhe6-x86_64##' ${D}${bindir}/ldd
> +       sed -i -e 's#/bin/bash#/bin/sh#' ${D}${bindir}/tzselect
> +       sed -i -e 's#/bin/bash#/bin/sh#' ${D}${bindir}/ldd
>
>         cp ${CP_ARGS} ${EXTERNAL_TOOLCHAIN}/lib/gcc/${EAT_TARGET_SYS}/${EAT_VER_GCC}/crt*.o ${D}${libdir}/${EAT_TARGET_SYS}/${EAT_VER_GCC}/
>
> @@ -421,9 +423,6 @@ FILES_libsegfault = "${base_libdir}/libSegFault*"
>  FILES_catchsegv = "${bindir}/catchsegv"
>  RDEPENDS_catchsegv = "libsegfault"
>
> -RDEPENDS_ldd = "bash"
> -RDEPENDS_tzcode = "bash"
> -
>  # From libgfortran.inc:
>
>  FILES_libgfortran = "${libdir}/libgfortran.so.*"
> --
> 2.7.4
>
> 

  reply	other threads:[~2020-04-30 10:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-30  4:10 [PATCH 1/4] tcmode-external-arm: drop unnecessary CPPFLAGS and LDFLAGS adjustments Denys Dmytriyenko
2020-04-30  4:10 ` [PATCH 2/4] external-arm-toolchain: drop unnecessary binutils-cross-${TARGET_ARCH} in PROVIDES Denys Dmytriyenko
2020-04-30 10:02   ` [meta-arm] " Sumit Garg
2020-05-01  6:47     ` Diego Sueiro
2020-04-30  4:10 ` [PATCH 3/4] external-arm-toolchain: add INHIBIT_AUTOTOOLS_DEPS Denys Dmytriyenko
2020-04-30 10:24   ` [meta-arm] " Sumit Garg
2020-04-30 20:37     ` Denys Dmytriyenko
2020-04-30  4:10 ` [PATCH 4/4] external-arm-toolchain: drop unnecessary RDEPENDS on bash Denys Dmytriyenko
2020-04-30 10:41   ` Sumit Garg [this message]
2020-05-01  6:50     ` [meta-arm] " Diego Sueiro
2020-04-30  9:51 ` [meta-arm] [PATCH 1/4] tcmode-external-arm: drop unnecessary CPPFLAGS and LDFLAGS adjustments Sumit Garg
2020-05-01  6:46 ` Diego Sueiro
2020-05-01 14:03   ` Jon Mason
2020-05-01 17:47     ` Denys Dmytriyenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFA6WYPpDzS7nv6q9bqfE8rLkQba99n6bs9tMV2OK_f1U8Gs_w@mail.gmail.com \
    --to=sumit.garg@linaro.org \
    --cc=denys@ti.com \
    --cc=meta-arm@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.