Skip to content

feat(edk2): disable Xen OVMF build variant#16469

Draft
christopherco wants to merge 1 commit intotomls/base/mainfrom
chrco/remove-xen-edk2-no-subpackage
Draft

feat(edk2): disable Xen OVMF build variant#16469
christopherco wants to merge 1 commit intotomls/base/mainfrom
chrco/remove-xen-edk2-no-subpackage

Conversation

@christopherco
Copy link
Copy Markdown
Collaborator

Azure Linux targets Hyper-V/KVM, not Xen. The upstream edk2 spec builds a Xen OVMF firmware variant (edk2-ovmf-xen) when %fedora is defined.

Disable by renaming [build.ovmf.xen] in edk2-build.fedora so the build script skips the Xen target, and remove the ovmf-xen subpackage via spec-remove-section overlays.

All other Fedora-path features (IGVM, 4M qcow2, experimental, riscv64, loongarch64, ext4, tools-python) are preserved.

Verified: build succeeds, edk2-ovmf-xen RPM is no longer produced, main edk2-ovmf package is intact.

Azure Linux targets Hyper-V/KVM, not Xen. The upstream edk2 spec builds
a Xen OVMF firmware variant (edk2-ovmf-xen) when %fedora is defined.

Disable by renaming [build.ovmf.xen] in edk2-build.fedora so the build
script skips the Xen target, and remove the ovmf-xen subpackage via
spec-remove-section overlays.

All other Fedora-path features (IGVM, 4M qcow2, experimental, riscv64,
loongarch64, ext4, tools-python) are preserved.

Verified: build succeeds, edk2-ovmf-xen RPM is no longer produced,
main edk2-ovmf package is intact.
@christopherco
Copy link
Copy Markdown
Collaborator Author

Replaces #16465

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant