]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm64: convert virtual machine images to GPT
authormhorne <mhorne@FreeBSD.org>
Fri, 30 Oct 2020 18:20:52 +0000 (18:20 +0000)
committermhorne <mhorne@FreeBSD.org>
Fri, 30 Oct 2020 18:20:52 +0000 (18:20 +0000)
commit8a72fd8e3c36e5fb7b5f24ae6abfb8bca357eae0
treed4e3fda0430a51be628ce9cb69a78bc1eef7eab7
parent42af19b5b2e8c3d3fc7fb90f9f2840771d82f026
arm64: convert virtual machine images to GPT

These images were switched to MBR in r281876 as a way to cope with a
hard-coded partition GUID in QEMU's default EFI firmware. Enough time
has passed that this is no longer a problem; QEMU versions >= 4.0
include a copy of edk2 EFI firmware that can detect the root filesystem
properly. Alternatively, sysutils/u-boot-qemu-arm64 can be used.

Switch back to building these images with a GPT partition table, and
re-enable the swap partition.

Reviewed by: gjb, emaste
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D26986
release/scripts/mk-vmimage.sh
release/tools/vmimage.subr