From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 03 Nov 2023 23:53:04 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qz32H-000EOr-AD for lore@lore.pengutronix.de; Fri, 03 Nov 2023 23:53:04 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1qz32G-0008SV-4V; Fri, 03 Nov 2023 23:53:04 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qz329-0008K3-KK; Fri, 03 Nov 2023 23:52:57 +0100 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qz329-006QGx-3t; Fri, 03 Nov 2023 23:52:57 +0100 Received: from rhi by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1qz329-005f0i-0A; Fri, 03 Nov 2023 23:52:57 +0100 From: Roland Hieber To: distrokit@pengutronix.de Date: Fri, 3 Nov 2023 23:52:46 +0100 Message-Id: <20231103225253.1349209-4-rhi@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231103225253.1349209-1-rhi@pengutronix.de> References: <20231103225253.1349209-1-rhi@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH v2 03/10] treewide: images: remove size specifications for root partitions X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Roland Hieber Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false With current rootfs sizes of below 200 MiB there is no need to have a 512 MiB root partition, which will be a lot larger than the file system it contains, and which will also all have to be written to the SD card. Let genimage determine the partition size based on the file system image it contains, thereby reducing the size of the generated disk images. Signed-off-by: Roland Hieber --- configs/platform-mips/config/images/ar9331.config | 1 - configs/platform-mips/config/images/malta.config | 1 - configs/platform-mipsel/config/images/malta.config | 1 - configs/platform-v7a/config/images/vexpress.config | 1 - configs/platform-v7a_noneon/config/images/vexpress.config | 1 - configs/platform-v8a/config/images/espressobin.config | 1 - 6 files changed, 6 deletions(-) diff --git a/configs/platform-mips/config/images/ar9331.config b/configs/platform-mips/config/images/ar9331.config index f26627f84cc0..7685781d231a 100644 --- a/configs/platform-mips/config/images/ar9331.config +++ b/configs/platform-mips/config/images/ar9331.config @@ -9,7 +9,6 @@ image @IMAGE@ { partition root-A { image = root.ext2 partition-type-uuid = e9434544-6e2c-47cc-bae2-12d6deafb44c # root-mips - size = 512M } partition data { autoresize = true diff --git a/configs/platform-mips/config/images/malta.config b/configs/platform-mips/config/images/malta.config index f26627f84cc0..7685781d231a 100644 --- a/configs/platform-mips/config/images/malta.config +++ b/configs/platform-mips/config/images/malta.config @@ -9,7 +9,6 @@ image @IMAGE@ { partition root-A { image = root.ext2 partition-type-uuid = e9434544-6e2c-47cc-bae2-12d6deafb44c # root-mips - size = 512M } partition data { autoresize = true diff --git a/configs/platform-mipsel/config/images/malta.config b/configs/platform-mipsel/config/images/malta.config index c873c7e8b724..71e367276072 100644 --- a/configs/platform-mipsel/config/images/malta.config +++ b/configs/platform-mipsel/config/images/malta.config @@ -9,7 +9,6 @@ image @IMAGE@ { partition root-A { image = root.ext2 partition-type-uuid = 37c58c8a-d913-4156-a25f-48b1b64e07f0 # root-mips-le - size = 512M } partition data { autoresize = true diff --git a/configs/platform-v7a/config/images/vexpress.config b/configs/platform-v7a/config/images/vexpress.config index 87eaedfe8b82..67c7638a59b8 100644 --- a/configs/platform-v7a/config/images/vexpress.config +++ b/configs/platform-v7a/config/images/vexpress.config @@ -9,7 +9,6 @@ image @IMAGE@ { partition root-A { image = root.ext2 partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3 # root-arm - size = 96M } partition root-B { image = root.ext2 diff --git a/configs/platform-v7a_noneon/config/images/vexpress.config b/configs/platform-v7a_noneon/config/images/vexpress.config index 0712ad82ce96..4200f95b7725 100644 --- a/configs/platform-v7a_noneon/config/images/vexpress.config +++ b/configs/platform-v7a_noneon/config/images/vexpress.config @@ -9,7 +9,6 @@ image @IMAGE@ { partition root-A { image = root.ext2 partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3 # root-arm - size = 192M } partition data { autoresize = true diff --git a/configs/platform-v8a/config/images/espressobin.config b/configs/platform-v8a/config/images/espressobin.config index 188bb9ae4d9e..e9f4460c9a9a 100644 --- a/configs/platform-v8a/config/images/espressobin.config +++ b/configs/platform-v8a/config/images/espressobin.config @@ -6,7 +6,6 @@ image @IMAGE@ { partition root-A { image = root.ext2 partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3 # root-arm - size = 512M } partition data { size = 512M -- 2.39.2