All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/busybox: Use minimal.config for no MMU
@ 2023-08-19  2:16 Jesse Taube
  2023-08-21 13:04 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Jesse Taube @ 2023-08-19  2:16 UTC (permalink / raw)
  To: buildroot
  Cc: Raphaël Mélotte, Jesse Taube, Yann E . MORIN,
	Thomas Petazzoni, Romain Naour, Jesse Taube

When building Busybox for no MMU systems both umask and mask
are not built. During boot-up, they will be called even though they are
not present. This issue is fixed when using busybox-minimal.config
To prevent confusion for future no-mmu boards select minimal.config
for !MMU targets.

Signed-off-by: Jesse Taube <Mr-Bossman075@gmail.com>
---
 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
-- 
2.40.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH] package/busybox: Use minimal.config for no MMU
  2023-08-19  2:16 [Buildroot] [PATCH] package/busybox: Use minimal.config for no MMU Jesse Taube
@ 2023-08-21 13:04 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-08-21 13:04 UTC (permalink / raw)
  To: Jesse Taube
  Cc: Romain Naour, Jesse Taube, Raphaël Mélotte,
	Yann E . MORIN, buildroot

On Fri, 18 Aug 2023 22:16:23 -0400
Jesse Taube <mr.bossman075@gmail.com> wrote:

> When building Busybox for no MMU systems both umask and mask
> are not built. During boot-up, they will be called even though they are
> not present. This issue is fixed when using busybox-minimal.config
> To prevent confusion for future no-mmu boards select minimal.config
> for !MMU targets.
> 
> Signed-off-by: Jesse Taube <Mr-Bossman075@gmail.com>
> ---
>  package/busybox/Config.in | 1 +
>  1 file changed, 1 insertion(+)

Applied to next with a reworked commit log, see
https://gitlab.com/buildroot.org/buildroot/-/commit/80b56887006cfba50833881dc31f045d494af185

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-21 13:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-19  2:16 [Buildroot] [PATCH] package/busybox: Use minimal.config for no MMU Jesse Taube
2023-08-21 13:04 ` Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.