[oe-commits] [openembedded-core] branch master updated: busybox: In defconfig enable ASH_CMDCMD for built-in 'command'

git at git.openembedded.org git at git.openembedded.org
Wed Apr 12 14:20:52 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

The following commit(s) were added to refs/heads/master by this push:
     new e41c90b  busybox: In defconfig enable ASH_CMDCMD for built-in 'command'
e41c90b is described below

commit e41c90b852167bbcb434da57b84280e855acae33
Author: Nathan Rossi <nathan at nathanrossi.com>
AuthorDate: Wed Apr 12 00:21:26 2017 +1000

    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 at nathanrossi.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-core/busybox/busybox/defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/busybox/busybox/defconfig b/meta/recipes-core/busybox/busybox/defconfig
index f649738..8803b52 100644
--- a/meta/recipes-core/busybox/busybox/defconfig
+++ b/meta/recipes-core/busybox/busybox/defconfig
@@ -1014,7 +1014,7 @@ CONFIG_ASH_BUILTIN_ECHO=y
 CONFIG_ASH_BUILTIN_PRINTF=y
 CONFIG_ASH_BUILTIN_TEST=y
 CONFIG_ASH_HELP=y
-# CONFIG_ASH_CMDCMD is not set
+CONFIG_ASH_CMDCMD=y
 # CONFIG_ASH_MAIL is not set
 CONFIG_ASH_OPTIMIZE_FOR_SIZE=y
 # CONFIG_ASH_RANDOM_SUPPORT is not set

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list