diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2017-04-12 00:21:26 +1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-12 15:18:46 +0100 |
commit | 97f30c70bdfc8033207da2633ffdefc02523bedb (patch) | |
tree | dc824b549ca0f0cee81c21acbe5f0512e2436300 /meta/recipes-core | |
parent | bf0fc2da669745d4a55101177a07b00ba9ac3c7d (diff) | |
download | poky-97f30c70bdfc8033207da2633ffdefc02523bedb.tar.gz |
busybox: In defconfig enable ASH_CMDCMD for built-in 'command'
It is common for *ash shells to have 'command' available as a built-in
function. POSIX 2008 also documents the availability of this command.
Additionally the /etc/profile of base-files requires this command to be
available as of commit e77cdb7611 ("base-files: profile: Do not assume
that the tty command exists"). If it is not available the following
message is output during login on a image using busybox.
-sh: command: not found
It however should be noted that tcsh and csh do not provide 'command'
(built-in or otherwise).
(From OE-Core rev: e41c90b852167bbcb434da57b84280e855acae33)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/busybox/busybox/defconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/busybox/busybox/defconfig b/meta/recipes-core/busybox/busybox/defconfig index f649738120..8803b52ac6 100644 --- a/meta/recipes-core/busybox/busybox/defconfig +++ b/meta/recipes-core/busybox/busybox/defconfig | |||
@@ -1014,7 +1014,7 @@ CONFIG_ASH_BUILTIN_ECHO=y | |||
1014 | CONFIG_ASH_BUILTIN_PRINTF=y | 1014 | CONFIG_ASH_BUILTIN_PRINTF=y |
1015 | CONFIG_ASH_BUILTIN_TEST=y | 1015 | CONFIG_ASH_BUILTIN_TEST=y |
1016 | CONFIG_ASH_HELP=y | 1016 | CONFIG_ASH_HELP=y |
1017 | # CONFIG_ASH_CMDCMD is not set | 1017 | CONFIG_ASH_CMDCMD=y |
1018 | # CONFIG_ASH_MAIL is not set | 1018 | # CONFIG_ASH_MAIL is not set |
1019 | CONFIG_ASH_OPTIMIZE_FOR_SIZE=y | 1019 | CONFIG_ASH_OPTIMIZE_FOR_SIZE=y |
1020 | # CONFIG_ASH_RANDOM_SUPPORT is not set | 1020 | # CONFIG_ASH_RANDOM_SUPPORT is not set |