From 5320114e582ee6fe69a31fc3d11fd7db08b99dc4 Mon Sep 17 00:00:00 2001 From: Thomas Parrott Date: Wed, 4 Sep 2024 08:53:34 +0100 Subject: [PATCH] lxd/instance/drivers/edk2: Add support for seabios in Ubuntu Signed-off-by: Thomas Parrott --- lxd/instance/drivers/edk2/edk2.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lxd/instance/drivers/edk2/edk2.go b/lxd/instance/drivers/edk2/edk2.go index 8974e598708b..bd3df2805c77 100644 --- a/lxd/instance/drivers/edk2/edk2.go +++ b/lxd/instance/drivers/edk2/edk2.go @@ -112,6 +112,13 @@ var architectureInstallations = map[int][]Installation{ {Code: "OVMF_CODE.secboot.fd", Vars: "OVMF_VARS.fd"}, }, }, + }, { + Paths: GetenvEdk2Paths("/usr/share/seabios"), + Usage: map[FirmwareUsage][]FirmwarePair{ + CSM: { + {Code: "bios-256k.bin", Vars: "bios-256k.bin"}, + }, + }, }}, osarch.ARCH_64BIT_ARMV8_LITTLE_ENDIAN: {{ Paths: GetenvEdk2Paths("/usr/share/AAVMF"),