Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion base/comps/components-full.toml
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,6 @@
[components.ecj]
[components.ed25519-java]
[components.editorconfig]
[components.edk2]
[components.efibootmgr]
[components.efitools]
[components.efl]
Expand Down
31 changes: 31 additions & 0 deletions base/comps/edk2/edk2.comp.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[components.edk2]

# Disable the Xen OVMF build variant — not applicable to Azure Linux (Hyper-V/KVM).

# 1. Rename the build config section so edk2-build.py skips the Xen build.
# The script iterates sections starting with "build." prefix.
[[components.edk2.overlays]]
description = "Disable Xen OVMF build - rename config section so edk2-build.py skips it"
type = "file-search-replace"
file = "edk2-build.fedora"
regex = '\[build\.ovmf\.xen\]'
replacement = '[disabled.ovmf.xen]'

# 2. Remove the ovmf-xen subpackage entirely.
[[components.edk2.overlays]]
description = "Remove %package ovmf-xen"
type = "spec-remove-section"
section = "%package"
package = "ovmf-xen"

[[components.edk2.overlays]]
description = "Remove %description ovmf-xen"
type = "spec-remove-section"
section = "%description"
package = "ovmf-xen"

[[components.edk2.overlays]]
description = "Remove %files ovmf-xen"
type = "spec-remove-section"
section = "%files"
package = "ovmf-xen"
Loading