hush: allow hush to run embedded scripts
authorRon Yorston <rmy@pobox.com>
Tue, 27 Nov 2018 14:34:25 +0000 (14:34 +0000)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 27 Nov 2018 15:13:07 +0000 (16:13 +0100)
commit71df2d3589e3e682cd6770f41f0b184841b78702
tree0c71963e9d622bc48256a3917c1ce55ccc019a4f
parentf4709d78cb0c4f54283046e8f86edb9ecd7e41ca
hush: allow hush to run embedded scripts

Embedded scripts require a shell to be present in the BusyBox
binary.  Allow either ash or hush to be used for this purpose.
If both are enabled ash takes precedence.

The size of the binary is unchanged in the default configuration:
both ash and hush are present but support for embedded scripts
isn't compiled into hush.

Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/libarchive/Kbuild.src
docs/embedded-scripts.txt
include/libbb.h
libbb/appletlib.c
scripts/embedded_scripts
scripts/gen_build_files.sh
shell/Config.src
shell/ash.c
shell/hush.c
util-linux/nologin.c