aboutsummaryrefslogtreecommitdiff
path: root/release/scripts/mk-vmimage.sh
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2015-05-01 18:07:18 +0000
committerGlen Barber <gjb@FreeBSD.org>2015-05-01 18:07:18 +0000
commitde7df74b4855cd9bdd01583a12409d5b1e6da354 (patch)
treeca54c9ba1af0ca2eb29e395b069252993a4e1ada /release/scripts/mk-vmimage.sh
parent7263c8c0998402e9860a0865013fbec4ece98cd4 (diff)
parent24f93ee714b6bc904bdc6e7f7022c4dbe1117581 (diff)
downloadsrc-de7df74b4855cd9bdd01583a12409d5b1e6da354.tar.gz
src-de7df74b4855cd9bdd01583a12409d5b1e6da354.zip
MFH: r281855-r282312
Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/projects/release-arm-redux/; revision=282313
Diffstat (limited to 'release/scripts/mk-vmimage.sh')
-rwxr-xr-xrelease/scripts/mk-vmimage.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/release/scripts/mk-vmimage.sh b/release/scripts/mk-vmimage.sh
index d5985ceb0d25..fd84216a99fe 100755
--- a/release/scripts/mk-vmimage.sh
+++ b/release/scripts/mk-vmimage.sh
@@ -93,6 +93,16 @@ main() {
. "${VMCONFIG}"
fi
+ case ${TARGET}:${TARGET_ARCH} in
+ arm64:aarch64)
+ ROOTLABEL="ufs"
+ NOSWAP=1
+ ;;
+ *)
+ ROOTLABEL="gpt"
+ ;;
+ esac
+
vm_create_base
vm_install_base
vm_extra_install_base