From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 03 Nov 2023 23:53:06 +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 1qz32J-000EPa-05 for lore@lore.pengutronix.de; Fri, 03 Nov 2023 23:53:06 +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 1qz32H-0000EB-GW; Fri, 03 Nov 2023 23:53:05 +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-0008K8-Pz; 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-006QH3-7G; 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-005f12-0K; Fri, 03 Nov 2023 23:52:57 +0100 From: Roland Hieber To: distrokit@pengutronix.de Date: Fri, 3 Nov 2023 23:52:51 +0100 Message-Id: <20231103225253.1349209-9-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 08/10] treewide: images: remove root-B and data 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 These partitions are now generated on the first boot by systemd-repart. The second rootfs is not needed for booting, and overwritten by RAUC when a bundle is installed, so it can as well be empty. Remove the two partitions to save space in the generated images. Signed-off-by: Roland Hieber --- configs/platform-mips/config/images/ar9331.config | 3 --- configs/platform-mips/config/images/malta.config | 3 --- configs/platform-mipsel/config/images/malta.config | 3 --- configs/platform-v7a/config/images/at91-sd.config | 3 --- configs/platform-v7a/config/images/beaglebone.config | 7 ------- configs/platform-v7a/config/images/gf.config | 3 --- configs/platform-v7a/config/images/riotboard.config | 9 --------- configs/platform-v7a/config/images/rpi2.config | 7 ------- configs/platform-v7a/config/images/sabrelite.config | 3 --- configs/platform-v7a/config/images/stm32mp.config | 6 ------ configs/platform-v7a/config/images/udoo-neo.config | 3 --- configs/platform-v7a/config/images/vexpress.config | 8 -------- configs/platform-v7a_noneon/config/images/at91-sd.config | 3 --- .../platform-v7a_noneon/config/images/vexpress.config | 3 --- configs/platform-v8a/config/images/espressobin.config | 3 --- configs/platform-v8a/config/images/rock3a.config | 3 --- 16 files changed, 70 deletions(-) diff --git a/configs/platform-mips/config/images/ar9331.config b/configs/platform-mips/config/images/ar9331.config index 7685781d231a..b0664f460a53 100644 --- a/configs/platform-mips/config/images/ar9331.config +++ b/configs/platform-mips/config/images/ar9331.config @@ -10,9 +10,6 @@ image @IMAGE@ { image = root.ext2 partition-type-uuid = e9434544-6e2c-47cc-bae2-12d6deafb44c # root-mips } - partition data { - autoresize = true - } } /* vim: set tabstop=8 noexpandtab : */ diff --git a/configs/platform-mips/config/images/malta.config b/configs/platform-mips/config/images/malta.config index 7685781d231a..b0664f460a53 100644 --- a/configs/platform-mips/config/images/malta.config +++ b/configs/platform-mips/config/images/malta.config @@ -10,9 +10,6 @@ image @IMAGE@ { image = root.ext2 partition-type-uuid = e9434544-6e2c-47cc-bae2-12d6deafb44c # root-mips } - partition data { - autoresize = true - } } /* vim: set tabstop=8 noexpandtab : */ diff --git a/configs/platform-mipsel/config/images/malta.config b/configs/platform-mipsel/config/images/malta.config index 71e367276072..4b6fe4af5332 100644 --- a/configs/platform-mipsel/config/images/malta.config +++ b/configs/platform-mipsel/config/images/malta.config @@ -10,9 +10,6 @@ image @IMAGE@ { image = root.ext2 partition-type-uuid = 37c58c8a-d913-4156-a25f-48b1b64e07f0 # root-mips-le } - partition data { - autoresize = true - } } /* vim: set tabstop=8 noexpandtab : */ diff --git a/configs/platform-v7a/config/images/at91-sd.config b/configs/platform-v7a/config/images/at91-sd.config index a892868cd7b7..335273d7ddc9 100644 --- a/configs/platform-v7a/config/images/at91-sd.config +++ b/configs/platform-v7a/config/images/at91-sd.config @@ -21,8 +21,5 @@ image @IMAGE@ { image = root.ext2 partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3 # root-arm } - partition data { - size = 512M - } } /* vim: set tabstop=8 noexpandtab : */ diff --git a/configs/platform-v7a/config/images/beaglebone.config b/configs/platform-v7a/config/images/beaglebone.config index 7509f501ec86..32abd0b7f4a9 100644 --- a/configs/platform-v7a/config/images/beaglebone.config +++ b/configs/platform-v7a/config/images/beaglebone.config @@ -21,12 +21,5 @@ image @IMAGE@ { image = root.ext2 partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3 # root-arm } - partition root-B { - image = root.ext2 - partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3 # root-arm - } - partition data { - size = 512M - } } /* vim: set tabstop=8 noexpandtab : */ diff --git a/configs/platform-v7a/config/images/gf.config b/configs/platform-v7a/config/images/gf.config index 6ec1d90db659..95c5a545d6e0 100644 --- a/configs/platform-v7a/config/images/gf.config +++ b/configs/platform-v7a/config/images/gf.config @@ -21,8 +21,5 @@ image @IMAGE@ { image = root.ext2 partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3 # root-arm } - partition data { - size = 512M - } } /* vim: set tabstop=8 noexpandtab : */ diff --git a/configs/platform-v7a/config/images/riotboard.config b/configs/platform-v7a/config/images/riotboard.config index 8ce12a07c71c..bff2528fac57 100644 --- a/configs/platform-v7a/config/images/riotboard.config +++ b/configs/platform-v7a/config/images/riotboard.config @@ -16,14 +16,5 @@ image @IMAGE@ { image = root.ext2 partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3 # root-arm } - - partition root-B { - image = root.ext2 - partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3 # root-arm - } - - partition data { - size = 512M - } } /* vim: set tabstop=8 noexpandtab : */ diff --git a/configs/platform-v7a/config/images/rpi2.config b/configs/platform-v7a/config/images/rpi2.config index 71baae3bb8be..68ee0d0d8529 100644 --- a/configs/platform-v7a/config/images/rpi2.config +++ b/configs/platform-v7a/config/images/rpi2.config @@ -23,12 +23,5 @@ image @IMAGE@ { image = root.ext2 partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3 # root-arm } - partition root-B { - image = root.ext2 - partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3 # root-arm - } - partition data { - size = 512M - } } /* vim: set tabstop=8 noexpandtab : */ diff --git a/configs/platform-v7a/config/images/sabrelite.config b/configs/platform-v7a/config/images/sabrelite.config index 2c7109c5c310..6d71c4124c3d 100644 --- a/configs/platform-v7a/config/images/sabrelite.config +++ b/configs/platform-v7a/config/images/sabrelite.config @@ -16,8 +16,5 @@ image @IMAGE@ { image = root.ext2 partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3 # root-arm } - partition data { - size = 512M - } } /* vim: set tabstop=8 noexpandtab : */ diff --git a/configs/platform-v7a/config/images/stm32mp.config b/configs/platform-v7a/config/images/stm32mp.config index c25f399b2b2a..58b9232d84a6 100644 --- a/configs/platform-v7a/config/images/stm32mp.config +++ b/configs/platform-v7a/config/images/stm32mp.config @@ -27,12 +27,6 @@ image @IMAGE@ { partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3 # root-arm image = root.ext2 } - partition root-b { - image = root.ext2 - } - partition data { - size = 100M - } } image @STM32MP_BOARD@.fip { diff --git a/configs/platform-v7a/config/images/udoo-neo.config b/configs/platform-v7a/config/images/udoo-neo.config index f801b5524baf..2e0f91f2bcb0 100644 --- a/configs/platform-v7a/config/images/udoo-neo.config +++ b/configs/platform-v7a/config/images/udoo-neo.config @@ -16,8 +16,5 @@ image @IMAGE@ { image = root.ext2 partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3 # root-arm } - partition data { - size = 512M - } } /* vim: set tabstop=8 noexpandtab : */ diff --git a/configs/platform-v7a/config/images/vexpress.config b/configs/platform-v7a/config/images/vexpress.config index 0254ef670227..b982ae2da41c 100644 --- a/configs/platform-v7a/config/images/vexpress.config +++ b/configs/platform-v7a/config/images/vexpress.config @@ -10,14 +10,6 @@ image @IMAGE@ { image = root.ext2 partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3 # root-arm } - partition root-B { - image = root.ext2 - partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3 # root-arm - size = 96M - } - partition data { - autoresize = true - } } /* vim: set tabstop=8 noexpandtab : */ diff --git a/configs/platform-v7a_noneon/config/images/at91-sd.config b/configs/platform-v7a_noneon/config/images/at91-sd.config index 9bf369ec9c2b..d4e22c82594f 100644 --- a/configs/platform-v7a_noneon/config/images/at91-sd.config +++ b/configs/platform-v7a_noneon/config/images/at91-sd.config @@ -21,8 +21,5 @@ image @IMAGE@ { image = root.ext2 partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3 # root-arm } - partition data { - size = 512M - } } /* vim: set tabstop=8 noexpandtab : */ diff --git a/configs/platform-v7a_noneon/config/images/vexpress.config b/configs/platform-v7a_noneon/config/images/vexpress.config index 7a5e92ee4033..b982ae2da41c 100644 --- a/configs/platform-v7a_noneon/config/images/vexpress.config +++ b/configs/platform-v7a_noneon/config/images/vexpress.config @@ -10,9 +10,6 @@ image @IMAGE@ { image = root.ext2 partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3 # root-arm } - partition data { - autoresize = true - } } /* vim: set tabstop=8 noexpandtab : */ diff --git a/configs/platform-v8a/config/images/espressobin.config b/configs/platform-v8a/config/images/espressobin.config index e9f4460c9a9a..54a72563526f 100644 --- a/configs/platform-v8a/config/images/espressobin.config +++ b/configs/platform-v8a/config/images/espressobin.config @@ -7,9 +7,6 @@ image @IMAGE@ { image = root.ext2 partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3 # root-arm } - partition data { - size = 512M - } } /* vim: set tabstop=8 noexpandtab : */ diff --git a/configs/platform-v8a/config/images/rock3a.config b/configs/platform-v8a/config/images/rock3a.config index d6d5ada84426..4b53e32ced3d 100644 --- a/configs/platform-v8a/config/images/rock3a.config +++ b/configs/platform-v8a/config/images/rock3a.config @@ -26,9 +26,6 @@ image @IMAGE@ { image = "root.ext2" partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae # root-arm64 } - partition data { - size = 512M - } } image barebox-rock3a.norimg { -- 2.39.2