From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Thu, 6 Sep 2018 21:29:55 +0200 Subject: [Buildroot] [PATCH/next] configs/pc: add a configuration to build a UEFI+GPT image In-Reply-To: <20180831023155.26475-1-casantos@datacom.com.br> References: <20180831023155.26475-1-casantos@datacom.com.br> Message-ID: <20180906212955.0630f268@windsurf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello, On Thu, 30 Aug 2018 23:31:55 -0300, Carlos Santos wrote: > This is ane example of how to craft a disk image with GPT partitioning > instead of MBR. This is achieved by means of a post-image script which > uses mkdosfs+mcopy+sfdisk, since genimage is unable to deal with GPT. > > The script was kept as simple as possible to make it easy to understand > and adapt for other purposes. > > The root filesystem location is passed to the kernel by a partition > UUID, so the it is possible to boot on QEMU, directly from the disk > image, or dump the image to a physical device. > > Signed-off-by: Carlos Santos Thanks for submitting. I don't find the post-image-efi-gpt.sh script really nice, but since genimage currently doesn't have GPT partition table support, that's pretty much all what can be done, and it's good to have an example in Buildroot. Therefore, if there is no opposition against this patch within the next days, I will apply it. Thanks! Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com