nova-libvirt: add package qemu-efi to support uefi image
On arm64, uefi image is usually used via --property hw_firmware_type=uefi In order to support this, qemu-efi has to be installed Ohterwise error reports: Terminating instance: libvirtError: Failed to open file '/usr/share/AAVMF/AAVMF_VARS.fd': No such file or directory Change-Id: Ibc1b39e821e84fb9739833be04bdb41db59d2ff5 Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org> Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
This commit is contained in:
parent
cdf318193b
commit
8c1e4e9052
@ -39,6 +39,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
|||||||
] %}
|
] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if base_arch == "aarch64" %}
|
||||||
|
{% set nova_libvirt_packages = nova_libvirt_packages + [
|
||||||
|
'qemu-efi'
|
||||||
|
] %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% elif base_distro in ['debian'] %}
|
{% elif base_distro in ['debian'] %}
|
||||||
|
|
||||||
{% set nova_libvirt_packages = [
|
{% set nova_libvirt_packages = [
|
||||||
@ -60,6 +66,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
|||||||
] %}
|
] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if base_arch == "aarch64" %}
|
||||||
|
{% set nova_libvirt_packages = nova_libvirt_packages + [
|
||||||
|
'qemu-efi'
|
||||||
|
] %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{{ macros.install_packages(nova_libvirt_packages | customizable("packages")) }}
|
{{ macros.install_packages(nova_libvirt_packages | customizable("packages")) }}
|
||||||
|
Loading…
Reference in New Issue
Block a user