From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Thu, 5 Mar 2020 17:45:34 +0100 From: Robert Schwebel Message-ID: <20200305164534.uuq4k5wqrnqegmve@pengutronix.de> References: <20200302110356.19112-1-a.fatoum@pengutronix.de> <20200302110356.19112-6-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200302110356.19112-6-a.fatoum@pengutronix.de> Subject: Re: [DistroKit] [PATCH 5/6] datapartition: disable autoformat of non-MBR Linux partitions List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: distrokit-bounces@pengutronix.de Sender: "DistroKit" To: Ahmad Fatoum Cc: distrokit@pengutronix.de On Mon, Mar 02, 2020 at 12:03:55PM +0100, Ahmad Fatoum wrote: > The upcoming STM32MP157C-DK2 board will be the first DistroKit board > with a GPT based image and it has barebox as partition 3, unlike the > other boards where this is always the data partition. > > This causes the data partition rule to brick the image by overwriting > barebox. > > As a temporary measure, disable the data partition auto formatting > on GPT-images by explicitly checking for partition type 0x83 before > starting the service. Eventually we might want to match against > a UUID before autoformatting, or create the partition anew altogether. > > Signed-off-by: Ahmad Fatoum > --- > projectroot/usr/lib/udev/rules.d/91-mkfs-ext4.rules | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to next. rsc -- Pengutronix e.K. | Dipl.-Ing. Robert Schwebel | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ DistroKit mailing list DistroKit@pengutronix.de