mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 0/2] Change selection of /usr/bin/sh symlink
@ 2024-05-13 12:55 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-13 12:55 ` [ptxdist] [PATCH 2/2] bash: allow installation of /usr/bin/sh symlink to be chosen manually Ian Abbott
  0 siblings, 2 replies; 5+ messages in thread
From: Ian Abbott @ 2024-05-13 12:55 UTC (permalink / raw)
  To: ptxdist

BusyBox, Dash, and Bash all allow installation of the /usr/bin/sh
symbolic link to their respective executable, busybox, dash or bash.

This patch series only allows Dash to install the /usr/bin/sh symlink if
it is not installed by BusyBox (unless overridden by the ALLYES config
option), and only allows Bash to install the /usr/bin/sh symlink if it
is not installed by either BusyBox or Dash (unless overridden by the
ALLYES config option).

Bash is powerful but slow compared to BusyBox or Dash shells, so it is
common to install a faster shell for executing shell scripts that
typically use /bin/sh as the interpreter selected by their "shebang"
line, and reserve Bash for use mostly as the interactive login shell.

Patches:

1) dash: install /usr/bin/sh symlink by default if not provided by BusyBox
2) bash: allow installation of /usr/bin/sh symlink to be chosen manually

 rules/bash.in | 14 +++++++++++++-
 rules/dash.in |  5 +++++
 2 files changed, 18 insertions(+), 1 deletion(-)



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-05-31  6:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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   ` [ptxdist] [APPLIED] " Michael Olbrich
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox