From 80b56887006cfba50833881dc31f045d494af185 Mon Sep 17 00:00:00 2001 From: Jesse Taube Date: Fri, 18 Aug 2023 22:16:23 -0400 Subject: [PATCH] package/busybox: use minimal.config for no MMU By default, when Busybox is enabled, it uses the package/busybox/busybox.config configuration file, even on noMMU configurations. As this default configuration enables the 'ash' shell which isn't available for noMMU targets, Busybox falls back to enabling the 'hush' shell, but without enabling a number of its sub-options that are quite relevant. In particular, it doesn't enable umask, which is used in our startup scripts. In order to have a default configuration that is more sensible, this commit changes the Busybox package to use package/busybox/busybox-minimal.config by default for noMMU configurations. Signed-off-by: Jesse Taube Signed-off-by: Thomas Petazzoni --- package/busybox/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/busybox/Config.in b/package/busybox/Config.in index 5e5c586762..3c2aa515f8 100644 --- a/package/busybox/Config.in +++ b/package/busybox/Config.in @@ -13,6 +13,7 @@ if BR2_PACKAGE_BUSYBOX config BR2_PACKAGE_BUSYBOX_CONFIG string "BusyBox configuration file to use?" + default "package/busybox/busybox-minimal.config" if !BR2_USE_MMU default "package/busybox/busybox.config" help Some people may wish to use their own modified BusyBox