[Buildroot] [git commit branch/2019.11.x] board/ci20/genimage.cfg: drop hardcoded rootfs partition size

Peter Korsgaard peter at korsgaard.com
Thu Mar 5 22:39:07 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=4d0c783eae74f75cd130c4a0c31743c2e4588cc1
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2019.11.x

As recently reported to the list:
http://lists.busybox.net/pipermail/buildroot/2020-January/271937.html

The hardcoded rootfs partition size can lead to hard to understand build
failures if more packages are added.

So drop the hardcoded partition size.  Genimage will then size the partition
to match the size of the rootfs image (which by default is also 60MB for ext4).

Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
(cherry picked from commit f1d1967422170b73ed7401eeb142a6b7a541dbec)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 board/ci20/genimage.cfg | 1 -
 1 file changed, 1 deletion(-)

diff --git a/board/ci20/genimage.cfg b/board/ci20/genimage.cfg
index fa3e7368d3..5f8a16c610 100644
--- a/board/ci20/genimage.cfg
+++ b/board/ci20/genimage.cfg
@@ -24,6 +24,5 @@ image sdcard.img {
         partition-type = 0x83
         image = "rootfs.ext4"
         offset = 2M
-        size = 60M
     }
 }


More information about the buildroot mailing list