OVMF-xen: init

Signed-off-by: Hongbo <hehongbo@mail.com>
This commit is contained in:
Hongbo
2026-05-17 18:15:32 +08:00
parent f82b37fc30
commit 24208fbf36

View File

@@ -0,0 +1,17 @@
{ lib, OVMF }:
(OVMF.override {
projectDscPath = "OvmfPkg/OvmfXen.dsc";
fwPrefix = "OVMF";
metaPlatforms = builtins.filter (lib.hasPrefix "x86_64-") OVMF.meta.platforms;
}).overrideAttrs
(oldAttrs: {
__structuredAttrs = true;
pname = "OVMF-xen";
meta = oldAttrs.meta // {
description = "Sample UEFI firmware for Xen guests";
teams = [ lib.teams.xen ];
};
})