diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-11-10 19:05:48 +0100 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-11-15 16:53:20 +0000 |
commit | e45c95993f33f38ef2a92a7b277e5888815df0c5 (patch) | |
tree | 762d4b11494a40e215a7ee038a83255e71a68681 | |
parent | 07d7e4c43e082fdfae24779ceaee800fb8feeec4 (diff) |
AArch64: deploy.sh: Add AAVMF install prereq
Change-Id: I7b3bb3eac1b4665dc9c08eaf6f5af336cde31f87
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit fde3efa0766d3a2df49fc9872bd76d6611a6c8ec)
-rwxr-xr-x | ci/deploy.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh index 06606414e..80667e815 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -274,6 +274,12 @@ if [ "${DEPLOY_TYPE}" = 'baremetal' ]; then python python-ipaddress python-jinja2 fi +# AArch64 VMs use AAVMF (guest UEFI) +if [ "$(uname -m)" = 'aarch64' ]; then + [ -n "$(command -v apt-get)" ] && sudo apt-get install -y qemu-efi + [ -n "$(command -v yum)" ] && sudo yum install -y --skip-broken AAVMF +fi + if ! virsh list >/dev/null 2>&1; then notify "[ERROR] This script requires hypervisor access\n" 1>&2 exit 1 |