feat(edk2): disable Xen OVMF build variant#16469
Draft
christopherco wants to merge 1 commit intotomls/base/mainfrom
Draft
feat(edk2): disable Xen OVMF build variant#16469christopherco wants to merge 1 commit intotomls/base/mainfrom
christopherco wants to merge 1 commit intotomls/base/mainfrom
Conversation
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.
Collaborator
Author
|
Replaces #16465 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.