[Buildroot] [PATCH/next] configs/pc: add a configuration to build a UEFI+GPT image

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Sep 6 19:29:55 UTC 2018


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 <casantos at datacom.com.br>

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


More information about the buildroot mailing list