diff options
author | gjb <gjb@FreeBSD.org> | 2015-04-27 17:39:40 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2015-04-27 17:39:40 +0000 |
commit | 384815e14833988c2cc837714dabccc451cf6c12 (patch) | |
tree | 8e9229533b824bb3ed8d58e174c7e4298da06c69 | |
parent | e023f3aa1ec16c8abf54ac9d11e5282c907fa3f7 (diff) | |
download | FreeBSD-src-384815e14833988c2cc837714dabccc451cf6c12.zip FreeBSD-src-384815e14833988c2cc837714dabccc451cf6c12.tar.gz |
Generate the arm64/aarch64 memstick image as MBR instead of
GPT.
Boot tested by: andrew
Sponsored by: The FreeBSD Foundation
-rwxr-xr-x | release/arm64/make-memstick.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/release/arm64/make-memstick.sh b/release/arm64/make-memstick.sh index 943dfbe..2507d5a 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 |