Workaround for uefi job with ubuntu bionic
In ubuntu bionic, the UEFI provided in the ovmf package version 0~20180205.c0d9813c-2, EFI v2.70 by EDK II, seems broken and causes kernel panic. To be able to boot using uefi, we download and install the old working version 2.60 from the multiverse repository. Story: 2004604 Task: 28500 Change-Id: I1a5b4a6544621316f71203282f7418d2001ad357
This commit is contained in:
parent
cea5335837
commit
6f22c00149
|
@ -895,12 +895,17 @@ function install_ironic {
|
|||
# one. The EFI ROM should work on with both boot modes, Legacy
|
||||
# BIOS and UEFI.
|
||||
if is_ubuntu; then
|
||||
# FIXME(lucasagomes): Enable the multiverse repository by
|
||||
# default in the image running the gate tests. Also move the
|
||||
# installation of the ovmf package to files/debs/ironic
|
||||
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) multiverse"
|
||||
sudo apt-get update
|
||||
install_package ovmf
|
||||
# (rpittau) in bionic the UEFI in the ovmf 0~20180205.c0d9813c-2
|
||||
# package is broken: EFI v2.70 by EDK II
|
||||
# As a workaround, here we download and install the old working
|
||||
# version from the multiverse repository: EFI v2.60 by EDK II
|
||||
# Bug reference:
|
||||
# https://bugs.launchpad.net/ubuntu/+source/edk2/+bug/1821729
|
||||
local temp_deb
|
||||
temp_deb="$(mktemp)"
|
||||
wget http://archive.ubuntu.com/ubuntu/pool/multiverse/e/edk2/ovmf_0~20160408.ffea0a2c-2_all.deb -O "$temp_deb"
|
||||
sudo dpkg -i "$temp_deb"
|
||||
rm -f "$temp_deb"
|
||||
|
||||
sudo rm /usr/share/qemu/pxe-virtio.rom
|
||||
sudo ln -s /usr/lib/ipxe/qemu/efi-virtio.rom /usr/share/qemu/pxe-virtio.rom
|
||||
|
|
|
@ -168,7 +168,6 @@
|
|||
name: ironic-tempest-ipa-partition-uefi-pxe_ipmitool-tinyipa
|
||||
description: ironic-tempest-ipa-partition-uefi-pxe_ipmitool-tinyipa
|
||||
parent: ironic-base
|
||||
nodeset: openstack-single-node-xenial
|
||||
timeout: 5400
|
||||
vars:
|
||||
devstack_localrc:
|
||||
|
|
Loading…
Reference in New Issue