Merge "Revert edk2 workaround"

This commit is contained in:
Zuul 2021-06-25 10:16:44 +00:00 committed by Gerrit Code Review
commit 94d7cacfe2

View File

@ -81,17 +81,7 @@ function install_libvirt {
install_package qemu-kvm install_package qemu-kvm
install_package libvirt libvirt-devel install_package libvirt libvirt-devel
if is_arch "x86_64"; then if is_arch "aarch64"; then
# NOTE(yoctozepto): recent edk2-ovmf on CentOS Stream 8 x86_64 started failing with
# "libvirt.libvirtError: internal error: unknown feature amd-sev-es",
# so reinstall a known working version until the relevant bugs get fixed:
# * https://bugzilla.redhat.com/show_bug.cgi?id=1961558
# * https://bugzilla.redhat.com/show_bug.cgi?id=1961562
# TODO(yoctozepto): Remove this code when the time is right.
if [ "$os_VENDOR" = "CentOSStream" ]; then
install_package edk2-ovmf-20200602gitca407c7246bf-4.el8
fi
elif is_arch "aarch64"; then
install_package edk2.git-aarch64 install_package edk2.git-aarch64
fi fi