Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 0/8] Add /etc/shells handling
@ 2018-01-17 17:44 Romain Naour
  2018-01-17 17:44 ` [Buildroot] [PATCH v2 1/8] package/skeleton-init-common: add /bin/sh to /etc/shells Romain Naour
                   ` (7 more replies)
  0 siblings, 8 replies; 17+ messages in thread
From: Romain Naour @ 2018-01-17 17:44 UTC (permalink / raw)
  To: buildroot

Started with commit [1], all package providing a shell interpreter
should  be listed in /etc/shells file to avoid issues with dropbear
or other tools.

Although a macro could be added to pkg-generic.mk to avoid
duplicating the /etc/shells handling, there is less than ten
shell packages in Buildroot. So add /etc/shells handling as
a POST_INSTALL_TARGET_HOOKS or inside INSTALL_TARGET_CMDS.

[1] 4d279697afbf8fb295274784103be2b837113d5e

Romain Naour (8):
  package/skeleton-init-common: add /bin/sh to /etc/shells
  package/busybox: add /bin/{a,hu}sh to /etc/shells
  package/dash: add /etc/dash to /etc/shells
  package/screen: add /usr/bin/screen to /etc/shells
  package/tmux: add /usr/bin/tmux to /etc/shells
  package/zsh: add /bin/zsh to /etc/shells
  package/mksh: add /bin/mksh to /etc/shells
  package/bash: add missing double-dollar for /etc/shells

 package/bash/bash.mk                                 |  2 +-
 package/busybox/busybox.mk                           | 14 ++++++++++++++
 package/dash/dash.mk                                 |  4 ++++
 package/mksh/mksh.mk                                 |  8 ++++++++
 package/screen/screen.mk                             |  9 ++++++++-
 package/skeleton-init-common/skeleton-init-common.mk |  7 +++++++
 package/tmux/tmux.mk                                 |  8 ++++++++
 package/zsh/zsh.mk                                   |  8 ++++++++
 8 files changed, 58 insertions(+), 2 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2018-01-17 19:30 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-17 17:44 [Buildroot] [PATCH v2 0/8] Add /etc/shells handling Romain Naour
2018-01-17 17:44 ` [Buildroot] [PATCH v2 1/8] package/skeleton-init-common: add /bin/sh to /etc/shells Romain Naour
2018-01-17 18:44   ` Yann E. MORIN
2018-01-17 17:44 ` [Buildroot] [PATCH v2 2/8] package/busybox: add /bin/{a, hu}sh " Romain Naour
2018-01-17 18:48   ` Yann E. MORIN
2018-01-17 17:44 ` [Buildroot] [PATCH v2 3/8] package/dash: add /etc/dash " Romain Naour
2018-01-17 19:19   ` Yann E. MORIN
2018-01-17 17:44 ` [Buildroot] [PATCH v2 4/8] package/screen: add /usr/bin/screen " Romain Naour
2018-01-17 19:25   ` Yann E. MORIN
2018-01-17 17:44 ` [Buildroot] [PATCH v2 5/8] package/tmux: add /usr/bin/tmux " Romain Naour
2018-01-17 19:25   ` Yann E. MORIN
2018-01-17 17:44 ` [Buildroot] [PATCH v2 6/8] package/zsh: add /bin/zsh " Romain Naour
2018-01-17 19:26   ` Yann E. MORIN
2018-01-17 17:44 ` [Buildroot] [PATCH v2 7/8] package/mksh: add /bin/mksh " Romain Naour
2018-01-17 19:29   ` Yann E. MORIN
2018-01-17 17:44 ` [Buildroot] [PATCH v2 8/8] package/bash: add missing double-dollar for /etc/shells Romain Naour
2018-01-17 19:30   ` Yann E. MORIN

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