Skip to content

Commit

Permalink
bb: do not clobber the bash symlink
Browse files Browse the repository at this point in the history
This gets confusing when working with both busybox and bash, as most of
our systems do.  If you install busybox after bash, such as by cd
tools/apps/busybox; make, then /bin/bash -> busybox.

It seems nice to have the bash symlink get covered by busybox, but then
again, on Akaros, the #!/bin/bash line doesn't get handled by the
kernel.  The shells just run the script internally, so they don't
handler the interpreter line.  Parlib doesn't even do it - it runs
"/bin/sh WHATEVER."

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
  • Loading branch information
brho committed Jul 11, 2019
1 parent ba425c2 commit c0d10a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/apps/busybox/defconfig-1.17.3
Expand Up @@ -926,9 +926,9 @@ CONFIG_ASH_EXPAND_PRMT=y
CONFIG_FEATURE_SH_IS_ASH=y
# CONFIG_FEATURE_SH_IS_HUSH is not set
# CONFIG_FEATURE_SH_IS_NONE is not set
CONFIG_FEATURE_BASH_IS_ASH=y
# CONFIG_FEATURE_BASH_IS_ASH is not set
# CONFIG_FEATURE_BASH_IS_HUSH is not set
# CONFIG_FEATURE_BASH_IS_NONE is not set
CONFIG_FEATURE_BASH_IS_NONE=y
# CONFIG_LASH is not set
# CONFIG_MSH is not set
CONFIG_SH_MATH_SUPPORT=y
Expand Down

0 comments on commit c0d10a2

Please sign in to comment.