Generate the arm64/aarch64 memstick image as MBR instead of

GPT.

Boot tested by:	andrew
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2015-04-27 17:39:40 +00:00
parent 8133297684
commit 62e0fc0426
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=282102

View File

@ -36,6 +36,8 @@ if [ $? -ne 0 ]; then
fi
rm ${1}/etc/fstab
mkimg -s gpt -p efi:=${1}/boot/boot1.efifat -p freebsd-ufs:=${2}.part -p freebsd-swap::1M -o ${2}
mkimg -s bsd -p freebsd-ufs:=${2}.part -p freebsd-swap::1M -o ${2}.tmp
mkimg -s mbr -p efi:=${1}/boot/boot1.efifat -p freebsd:=${2}.tmp -o ${2}
rm ${2}.tmp
rm ${2}.part