From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Ian Abbott <abbotti@mev.co.uk>
Subject: Re: [ptxdist] [APPLIED] dash: install /usr/bin/sh symlink by default if not provided by BusyBox
Date: Fri, 31 May 2024 08:08:29 +0200 [thread overview]
Message-ID: <20240531060829.3598986-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20240513132247.25521-2-abbotti@mev.co.uk>
Thanks, applied as e320da8efe25e2a8b1dcc88cf7944f3a4b817d8e.
Michael
[sent from post-receive hook]
On Fri, 31 May 2024 08:08:29 +0200, Ian Abbott <abbotti@mev.co.uk> wrote:
> Only allow DASH_LINK_SH to be enabled if the /usr/bin/sh symbolic link
> is not being installed by BusyBox (unless overridden by ALLYES).
> Default to enabled if the link is not being installed by BusyBox.
>
> Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
> Message-Id: <20240513132247.25521-2-abbotti@mev.co.uk>
> [mol: simplify 'default']
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/dash.in b/rules/dash.in
> index 88ea87942f6e..16b57b78a5bd 100644
> --- a/rules/dash.in
> +++ b/rules/dash.in
> @@ -11,8 +11,13 @@ menuconfig DASH
>
> if DASH
>
> +comment "BusyBox sh is selected"
> + depends on BUSYBOX && !BUSYBOX_SH_IS_NONE
> +
> config DASH_LINK_SH
> bool
> + depends on !BUSYBOX || BUSYBOX_SH_IS_NONE || ALLYES
> + default y
> prompt "link to /bin/sh"
> help
> Create a link "/bin/sh" that points to "/bin/dash". Select
next prev parent reply other threads:[~2024-05-31 6:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-13 12:55 [ptxdist] [PATCH 0/2] Change selection of /usr/bin/sh symlink Ian Abbott
2024-05-13 12:55 ` [ptxdist] [PATCH 1/2] dash: install /usr/bin/sh symlink by default if not provided by BusyBox Ian Abbott
2024-05-31 6:08 ` Michael Olbrich [this message]
2024-05-13 12:55 ` [ptxdist] [PATCH 2/2] bash: allow installation of /usr/bin/sh symlink to be chosen manually Ian Abbott
2024-05-31 6:08 ` [ptxdist] [APPLIED] " Michael Olbrich
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=20240531060829.3598986-1-m.olbrich@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=abbotti@mev.co.uk \
--cc=ptxdist@pengutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox