Skip to content

Commit e5cc35e

Browse files
christophercoreubeno
authored andcommitted
feat(libvirt): disable Xen/libxl driver support
Azure Linux targets Hyper-V/KVM, not Xen. Since our builders have the %fedora macro set, the upstream spec enables the libxl driver on x86_64/aarch64 by default, pulling in xen-devel at build time and producing libvirt-daemon-driver-libxl / libvirt-daemon-xen subpackages with libxenstore.so.4 runtime dependencies. Disable via build.without = ["libxl"]. Verified: build succeeds, no xen/libxl subpackages are produced, and no output RPMs carry xen dependencies.
1 parent 52893ff commit e5cc35e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

base/comps/components-full.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2174,7 +2174,6 @@
21742174
[components.libvirt-dbus]
21752175
[components.libvirt-glib]
21762176
[components.libvirt-python]
2177-
[components.libvirt]
21782177
[components.libvisio]
21792178
[components.libvisual]
21802179
[components.libvma]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[components.libvirt]
2+
3+
# Disable Xen/libxl driver — not applicable to Azure Linux's Hyper-V/KVM environment.
4+
# The upstream spec enables libxl by default on x86_64/aarch64 when %fedora is set.
5+
[components.libvirt.build]
6+
without = ["libxl"]

0 commit comments

Comments
 (0)