Skip to content

Commit 98c1a6e

Browse files
committed
feat(rust-vm-memory): remove xen feature subpackage
Azure Linux targets Hyper-V/KVM, not Xen. Remove the +xen-devel subpackage from rust-vm-memory using spec-remove-section overlays to strip the %package, %description, and %files sections. Verified: build succeeds and rust-vm-memory+xen-devel RPM is no longer produced.
1 parent a9fec89 commit 98c1a6e

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

base/comps/components.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6963,7 +6963,6 @@ includes = ["**/*.comp.toml", "component-check-disablement.toml"]
69636963
[components.rust-virtio-bindings]
69646964
[components.rust-virtue]
69656965
[components.rust-vm-fdt]
6966-
[components.rust-vm-memory]
69676966
[components.rust-vmm-sys-util]
69686967
[components.rust-vmw_backdoor]
69696968
[components.rust-vsprintf]
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[components.rust-vm-memory]
2+
3+
# Remove the +xen feature subpackage — Xen is not applicable to Azure Linux.
4+
[[components.rust-vm-memory.overlays]]
5+
description = "Remove %package +xen-devel section"
6+
type = "spec-remove-section"
7+
section = "%package"
8+
package = "%{name}+xen-devel"
9+
10+
[[components.rust-vm-memory.overlays]]
11+
description = "Remove %description +xen-devel section"
12+
type = "spec-remove-section"
13+
section = "%description"
14+
package = "%{name}+xen-devel"
15+
16+
[[components.rust-vm-memory.overlays]]
17+
description = "Remove %files +xen-devel section"
18+
type = "spec-remove-section"
19+
section = "%files"
20+
package = "%{name}+xen-devel"

0 commit comments

Comments
 (0)