]> code.ossystems Code Review - openembedded-core.git/commit
busybox: In defconfig enable ASH_CMDCMD for built-in 'command'
authorNathan Rossi <nathan@nathanrossi.com>
Tue, 11 Apr 2017 14:21:26 +0000 (00:21 +1000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 12 Apr 2017 14:18:42 +0000 (15:18 +0100)
commite41c90b852167bbcb434da57b84280e855acae33
treec20148b4245cc1f7297288fcfd1d74d181e33e55
parent0f1879982ab6006f14ac2c9f5546a7b1f79460cd
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).

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/busybox/busybox/defconfig