From dcad9af52a05da2ee6f3b12bcbb23c225b95417a Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 20 Oct 2017 05:55:08 +0000 Subject: main/busybox: ash: add support for bash-style command_not_found_handle hook function This implements support for the command_not_found_handle hook function, which is useful for allowing package managers to suggest packages which could provide the command. Unlike bash, however, we ignore exit codes from the hook function and always return the correct POSIX error code (EX_NOTFOUND). --- main/busybox/busyboxconfig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'main/busybox/busyboxconfig') diff --git a/main/busybox/busyboxconfig b/main/busybox/busyboxconfig index cd3d6e53d4..650bc3dad3 100644 --- a/main/busybox/busyboxconfig +++ b/main/busybox/busyboxconfig @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# Busybox version: 1.27.0 -# Thu Jul 6 14:03:45 2017 +# Busybox version: 1.27.2 +# Fri Oct 20 05:53:24 2017 # CONFIG_HAVE_DOT_CONFIG=y @@ -10,6 +10,7 @@ CONFIG_HAVE_DOT_CONFIG=y # CONFIG_DESKTOP=y # CONFIG_EXTRA_COMPAT is not set +# CONFIG_FEDORA_COMPAT is not set # CONFIG_INCLUDE_SUSv2 is not set # CONFIG_USE_PORTABLE_CODE is not set CONFIG_SHOW_USAGE=y @@ -51,7 +52,6 @@ CONFIG_SYSROOT="" CONFIG_EXTRA_CFLAGS="" CONFIG_EXTRA_LDFLAGS="" CONFIG_EXTRA_LDLIBS="" -CONFIG_FEDORA_COMPAT=n # # Installation Options ("make install" behavior) @@ -1071,6 +1071,7 @@ CONFIG_ASH_TEST=y CONFIG_ASH_HELP=y CONFIG_ASH_GETOPTS=y CONFIG_ASH_CMDCMD=y +CONFIG_ASH_COMMAND_NOT_FOUND_HOOK=y # CONFIG_CTTYHACK is not set # CONFIG_HUSH is not set # CONFIG_HUSH_BASH_COMPAT is not set -- cgit v1.2.3