The qemu-system package, and not qemu-kvm, should be installed on either
trusty- or utopic-based ARMv8 (aarch64) Ubuntu releases. Additionally,
libguestfs is not available so that is not installed.
No changes are required for vivid.
Change-Id: Id9dc1fc465bd7acab17c991c292fb531016758ad
Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>
| 1 | 1 |
old mode 100644 |
| 2 | 2 |
new mode 100755 |
| ... | ... |
@@ -23,11 +23,15 @@ DEBUG_LIBVIRT=$(trueorfalse True DEBUG_LIBVIRT) |
| 23 | 23 |
# Installs required distro-specific libvirt packages. |
| 24 | 24 |
function install_libvirt {
|
| 25 | 25 |
if is_ubuntu; then |
| 26 |
- install_package qemu-kvm |
|
| 26 |
+ if is_arch "aarch64" && [[ ${DISTRO} =~ (trusty|utopic) ]]; then
|
|
| 27 |
+ install_package qemu-system |
|
| 28 |
+ else |
|
| 29 |
+ install_package qemu-kvm |
|
| 30 |
+ install_package libguestfs0 |
|
| 31 |
+ install_package python-guestfs |
|
| 32 |
+ fi |
|
| 27 | 33 |
install_package libvirt-bin libvirt-dev |
| 28 | 34 |
pip_install libvirt-python |
| 29 |
- install_package libguestfs0 |
|
| 30 |
- install_package python-guestfs |
|
| 31 | 35 |
#pip_install <there-si-no-guestfs-in-pypi> |
| 32 | 36 |
elif is_fedora || is_suse; then |
| 33 | 37 |
install_package kvm |