aboutsummaryrefslogtreecommitdiff
path: root/release/arm64/make-memstick.sh
diff options
context:
space:
mode:
Diffstat (limited to 'release/arm64/make-memstick.sh')
-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