Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] utils/genrandconfig: disable cramfs images
@ 2023-07-09 14:51 Bernd Kuhls
  2023-07-09 16:30 ` Thomas Petazzoni via buildroot
  2023-07-17 13:04 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2023-07-09 14:51 UTC (permalink / raw)
  To: buildroot

Fixes build error:

  warning: estimate of required size (upper bound) is 1374MB, but
  maximum image size is 272MB, we might die prematurely
  mkcramfs: filesystem too big

Fixes:
http://autobuild.buildroot.net/results/d47/d47f9b462707dffe1b6665f143701303b04e2adc/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 utils/genrandconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/utils/genrandconfig b/utils/genrandconfig
index 2b0baedf31..0938260c1b 100755
--- a/utils/genrandconfig
+++ b/utils/genrandconfig
@@ -512,6 +512,9 @@ def fixup_config(sysinfo, configfile):
         configlines.remove('BR2_TARGET_OPTEE_OS=y\n')
         configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n')
 
+    if 'BR2_TARGET_ROOTFS_CRAMFS=y\n' in configlines:
+        configlines.remove('BR2_TARGET_ROOTFS_CRAMFS=y\n')
+
     if 'BR2_TARGET_ROOTFS_EXT2=y\n' in configlines and \
        'BR2_TARGET_ROOTFS_EXT2_SIZE="60M"\n' in configlines:
         configlines.remove('BR2_TARGET_ROOTFS_EXT2_SIZE="60M"\n')
-- 
2.39.2

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

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

* Re: [Buildroot] [PATCH 1/1] utils/genrandconfig: disable cramfs images
  2023-07-09 14:51 [Buildroot] [PATCH 1/1] utils/genrandconfig: disable cramfs images Bernd Kuhls
@ 2023-07-09 16:30 ` Thomas Petazzoni via buildroot
  2023-07-17 13:04 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-07-09 16:30 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot

On Sun,  9 Jul 2023 16:51:18 +0200
Bernd Kuhls <bernd@kuhls.net> wrote:

> Fixes build error:
> 
>   warning: estimate of required size (upper bound) is 1374MB, but
>   maximum image size is 272MB, we might die prematurely
>   mkcramfs: filesystem too big
> 
> Fixes:
> http://autobuild.buildroot.net/results/d47/d47f9b462707dffe1b6665f143701303b04e2adc/
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
>  utils/genrandconfig | 3 +++
>  1 file changed, 3 insertions(+)

Applied to master, 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] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] utils/genrandconfig: disable cramfs images
  2023-07-09 14:51 [Buildroot] [PATCH 1/1] utils/genrandconfig: disable cramfs images Bernd Kuhls
  2023-07-09 16:30 ` Thomas Petazzoni via buildroot
@ 2023-07-17 13:04 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2023-07-17 13:04 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot

>>>>> "Bernd" == Bernd Kuhls <bernd@kuhls.net> writes:

 > Fixes build error:
 >   warning: estimate of required size (upper bound) is 1374MB, but
 >   maximum image size is 272MB, we might die prematurely
 >   mkcramfs: filesystem too big

 > Fixes:
 > http://autobuild.buildroot.net/results/d47/d47f9b462707dffe1b6665f143701303b04e2adc/

 > Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Committed to 2023.02.x and 2023.05.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-09 14:51 [Buildroot] [PATCH 1/1] utils/genrandconfig: disable cramfs images Bernd Kuhls
2023-07-09 16:30 ` Thomas Petazzoni via buildroot
2023-07-17 13:04 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox