From 8f3cfe41961d83a9c01630f241bf045e3aa59b40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20Stehl=C3=A9?= Date: Tue, 29 Mar 2022 22:51:36 +0200 Subject: [PATCH] configs/qemu_xtensa_lx60_nommu: use busybox minimal config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update the qemu_xtensa_lx60_nommu_defconfig to use the busybox-minimal.config. After commit 3de486f8b052 ("package/busybox: fix udhcpc options in minimal config"), this has the benefit of fixing the following network initialization failure: udhcpc: invalid option -- b With the full busybox config, the -b option would still be passed and udhcpc would fail to start for the reason above. Note that on NOMMU, udhcpc backgrounds unconditionally (unless the -f option is given), so it still behaves properly. The -b option in fact only backgrounds after the lease is obtained; on NOMMU, backgrounding is done before the lease is even requested. So the behaviour is more or less the same, except that on MMU systems, networking can be considered either up or not available after S20network, but on NOMMU there is no such guarantee. Signed-off-by: Vincent Stehlé Cc: Romain Naour Cc: Gerome Burlats Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- configs/qemu_xtensa_lx60_nommu_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/qemu_xtensa_lx60_nommu_defconfig b/configs/qemu_xtensa_lx60_nommu_defconfig index c4473fb32a..44fb81bd74 100644 --- a/configs/qemu_xtensa_lx60_nommu_defconfig +++ b/configs/qemu_xtensa_lx60_nommu_defconfig @@ -7,6 +7,9 @@ BR2_XTENSA_OVERLAY_FILE="https://github.com/jcmvbkbc/xtensa-toolchain-build/raw/ BR2_PACKAGE_HOST_ELF2FLT=y # BR2_USE_MMU is not set +# Use minimal busybox with hush and networking tools +BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" + # System BR2_SYSTEM_DHCP="eth0" BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"