aboutsummaryrefslogtreecommitdiff
path: root/release/arm64
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2015-04-27 17:39:40 +0000
committerGlen Barber <gjb@FreeBSD.org>2015-04-27 17:39:40 +0000
commit62e0fc04264d05014ab165176e49e341f842a4f0 (patch)
tree8e9229533b824bb3ed8d58e174c7e4298da06c69 /release/arm64
parent8133297684a301a40d2a41de3e18ac0b9e225050 (diff)
downloadsrc-62e0fc04264d05014ab165176e49e341f842a4f0.tar.gz
src-62e0fc04264d05014ab165176e49e341f842a4f0.zip
Generate the arm64/aarch64 memstick image as MBR instead of
GPT. Boot tested by: andrew Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=282102
Diffstat (limited to 'release/arm64')
-rwxr-xr-xrelease/arm64/make-memstick.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/release/arm64/make-memstick.sh b/release/arm64/make-memstick.sh
index 943dfbe0d0f8..2507d5a160e5 100755
--- a/release/arm64/make-memstick.sh
+++ b/release/arm64/make-memstick.sh
@@ -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