Merge "Limit OVMF_CODE.secboot.fd to el7"

This commit is contained in:
Zuul 2019-07-15 03:06:16 +00:00 committed by Gerrit Code Review
commit ef6a62de1c

View File

@ -132,7 +132,7 @@ RUN chmod 750 /etc/sudoers.d \
{% if base_package_type == 'rpm' %}
{% if base_arch == 'x86_64' %}
{% if base_arch == 'x86_64' and base_distro_tag.startswith('7') %}
# NOTE(jeffrey4l): for x86_64, nova will validate the existence of /usr/share/OVMF/OVMF_CODE.fd
RUN ln -sf /usr/share/OVMF/OVMF_CODE.secboot.fd /usr/share/OVMF/OVMF_CODE.fd
{% endif %}