[Buildroot] [PATCH v2 1/2] configs/odroidc2: increase rootfs size to 124M

daggs daggs at gmx.com
Mon Sep 13 21:20:42 UTC 2021


Greetings Yan,

> Sent: Saturday, September 11, 2021 at 10:44 PM
> From: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> To: "Dagg Stompler" <daggs at gmx.com>
> Cc: buildroot at buildroot.org
> Subject: Re: [Buildroot] [PATCH v2 1/2] configs/odroidc2: increase rootfs size to 124M
>
> Dagg,
>
> On 2021-09-11 19:25 +0300, Dagg Stompler spake thusly:
> > as result of e2fsprogs version bump, the image size required was
> > increased.
> > so to fix it and make sure there is enough size, set BR2_TARGET_ROOTFS_EXT2_SIZE
> > to 124M
>
> So, I was wondering what the reason for the size increase was, so I
> spawned a build in three conditions:
>
>   - my server's Ubuntu 16.04
>   - my laptop's Ubuntu 21.04
>   - a docker Bullseye on my server (so, minus the kernel, a stock Debian
>     Bullseye)
>
> In all three cases, the build succeeded with current master. The sice
> of the target/ directory is roughly 40MiB in all three cases, which is
> still far enoiugh from 60MiB that it should not cause any issue.
>
> So, I'm still not sure that the reason is "Debian Bullseye", or that the
> solution is "increase the filesystem size".
>
> Could you please try by aplying this patch to master, and rerun the
> build, and share the error message, please:
>
>     diff --git a/fs/ext2/ext2.mk b/fs/ext2/ext2.mk
>     index 74c99bd7b1..83c967c9df 100644
>     --- a/fs/ext2/ext2.mk
>     +++ b/fs/ext2/ext2.mk
>     @@ -16,7 +16,7 @@ EXT2_MKFS_OPTS = $(call qstrip,$(BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS))
>      EXT2_LABEL = $(subst ",,$(BR2_TARGET_ROOTFS_EXT2_LABEL))
>      #" Syntax highlighting... :-/ )
>
>     -EXT2_OPTS = \
>     +EXT2_OPTS = -v \
>      	-d $(TARGET_DIR) \
>      	-r $(BR2_TARGET_ROOTFS_EXT2_REV) \
>      	-N $(BR2_TARGET_ROOTFS_EXT2_INODES) \
>
it doesn't reproduces anymore with latest master

Dagg.



More information about the buildroot mailing list