busybox: Add shell arithmetic to work with poky-tiny

Fix error when trying to boot core-image-tiny-initramfs:

/init: line 144: syntax error: support for $((arith)) is disabled
Kernel panic - not syncing: Attempted to kill init!

[YOCTO #14702]

(From meta-yocto rev: 50ac1fcadb07fdbeb4169cdd7a0c4a805a0f8588)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alejandro Hernandez Samaniego 2022-01-22 15:33:17 -07:00 committed by Richard Purdie
parent d77178e8df
commit 74a8a74a55

View File

@ -1160,7 +1160,7 @@ CONFIG_CTTYHACK=y
#
# Options common to all shells
#
# CONFIG_FEATURE_SH_MATH is not set
CONFIG_FEATURE_SH_MATH=y
# CONFIG_FEATURE_SH_MATH_64 is not set
# CONFIG_FEATURE_SH_MATH_BASE is not set
CONFIG_FEATURE_SH_EXTRA_QUIET=y