Searched hist:"08 a75d1f0e7d885f5a891e0e3e64a540daf15689" (Results 1 – 2 of 2) sorted by relevance
/freebsd/release/scripts/ |
H A D | mk-vmimage.sh | diff 08a75d1f0e7d885f5a891e0e3e64a540daf15689 Thu Apr 23 03:04:14 CEST 2015 Glen Barber <gjb@FreeBSD.org> Create the arm64/aarch64 VM disk image as MBR instead of GPT scheme. UEFI needs to know the unique partition GUID with GPT, which changes each time. Specifically, the QEMU EFI BIOS file has this hard-coded.[1]
Since the GPT labels are now unavailable, unconditionally label the root filesystem as 'rootfs' with newfs(8), since it does not hurt anything anywhere else. For the arm64 case, '/' is mounted from /dev/ufs/rootfs; for all other VM images, '/' is mounted from /dev/gpt/rootfs.
Unfortunately, since the /dev/gpt/swapfs label is also lost, set NOSWAP=1 for the arm64/aarch64 images. This is temporary, until I figure out a scalable solution to this. But, a certain piece of softare was written "very fast", and ended up living for 15 years. We can deal with this for a week or so.
Information from: andrew, emaste [1] Sponsored by: The FreeBSD Foundation
|
/freebsd/release/tools/ |
H A D | vmimage.subr | diff 08a75d1f0e7d885f5a891e0e3e64a540daf15689 Thu Apr 23 03:04:14 CEST 2015 Glen Barber <gjb@FreeBSD.org> Create the arm64/aarch64 VM disk image as MBR instead of GPT scheme. UEFI needs to know the unique partition GUID with GPT, which changes each time. Specifically, the QEMU EFI BIOS file has this hard-coded.[1]
Since the GPT labels are now unavailable, unconditionally label the root filesystem as 'rootfs' with newfs(8), since it does not hurt anything anywhere else. For the arm64 case, '/' is mounted from /dev/ufs/rootfs; for all other VM images, '/' is mounted from /dev/gpt/rootfs.
Unfortunately, since the /dev/gpt/swapfs label is also lost, set NOSWAP=1 for the arm64/aarch64 images. This is temporary, until I figure out a scalable solution to this. But, a certain piece of softare was written "very fast", and ended up living for 15 years. We can deal with this for a week or so.
Information from: andrew, emaste [1] Sponsored by: The FreeBSD Foundation
|