[Buildroot] [PATCH 1/1] configs/nanopi_neo: deterine roofs partition size automatically
Viktar Palstsiuk
viktar.palstsiuk at promwad.com
Tue Nov 26 09:03:52 UTC 2019
Let genimage determine rootfs partition size based on the filesystem image size
Signed-off-by: Viktar Palstsiuk <viktar.palstsiuk at promwad.com>
---
board/friendlyarm/nanopi-neo/genimage.cfg | 1 -
configs/nanopi_neo_defconfig | 2 --
2 files changed, 3 deletions(-)
diff --git a/board/friendlyarm/nanopi-neo/genimage.cfg b/board/friendlyarm/nanopi-neo/genimage.cfg
index ad43d31049..f6adc4af3e 100644
--- a/board/friendlyarm/nanopi-neo/genimage.cfg
+++ b/board/friendlyarm/nanopi-neo/genimage.cfg
@@ -29,6 +29,5 @@ image sdcard.img {
partition rootfs {
partition-type = 0x83
image = "rootfs.ext4"
- size = 32M
}
}
diff --git a/configs/nanopi_neo_defconfig b/configs/nanopi_neo_defconfig
index aa464917b5..838f4edad5 100644
--- a/configs/nanopi_neo_defconfig
+++ b/configs/nanopi_neo_defconfig
@@ -31,8 +31,6 @@ BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin"
# Build an sdcard image
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
-BR2_TARGET_ROOTFS_EXT2_SIZE="32M"
-BR2_TARGET_ROOTFS_EXT2_INODES=8192
# BR2_TARGET_ROOTFS_TAR is not set
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_GENIMAGE=y
--
2.17.1
More information about the buildroot
mailing list