-
Notifications
You must be signed in to change notification settings - Fork 613
feat(rust-vm-memory): remove xen feature subpackage #16467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,20 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| [components.rust-vm-memory] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Remove the +xen feature subpackage — Xen is not applicable to Azure Linux. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| [[components.rust-vm-memory.overlays]] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| description = "Remove %package +xen-devel section" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type = "spec-remove-section" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| section = "%package" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| package = "%{name}+xen-devel" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| [[components.rust-vm-memory.overlays]] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| description = "Remove %description +xen-devel section" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type = "spec-remove-section" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| section = "%description" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| package = "%{name}+xen-devel" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| [[components.rust-vm-memory.overlays]] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| description = "Remove %files +xen-devel section" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type = "spec-remove-section" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| section = "%files" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| package = "%{name}+xen-devel" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+4
to
+20
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| [[components.rust-vm-memory.overlays]] | |
| description = "Remove %package +xen-devel section" | |
| type = "spec-remove-section" | |
| section = "%package" | |
| package = "%{name}+xen-devel" | |
| [[components.rust-vm-memory.overlays]] | |
| description = "Remove %description +xen-devel section" | |
| type = "spec-remove-section" | |
| section = "%description" | |
| package = "%{name}+xen-devel" | |
| [[components.rust-vm-memory.overlays]] | |
| description = "Remove %files +xen-devel section" | |
| type = "spec-remove-section" | |
| section = "%files" | |
| package = "%{name}+xen-devel" | |
| # `spec-remove-section` is not a supported azldev overlay type, so use a scoped | |
| # regex replacement as the schema-supported fallback for clearing these sections. | |
| [[components.rust-vm-memory.overlays]] | |
| description = "Clear the %package +xen-devel section because Xen is not shipped in Azure Linux" | |
| type = "spec-search-replace" | |
| section = "%package" | |
| package = "%{name}+xen-devel" | |
| regex = '^.*$' | |
| replacement = '' | |
| [[components.rust-vm-memory.overlays]] | |
| description = "Clear the %description +xen-devel section because Xen is not shipped in Azure Linux" | |
| type = "spec-search-replace" | |
| section = "%description" | |
| package = "%{name}+xen-devel" | |
| regex = '^.*$' | |
| replacement = '' | |
| [[components.rust-vm-memory.overlays]] | |
| description = "Clear the %files +xen-devel section because Xen is not shipped in Azure Linux" | |
| type = "spec-search-replace" | |
| section = "%files" | |
| package = "%{name}+xen-devel" | |
| regex = '^.*$' | |
| replacement = '' |
Copilot
AI
Apr 9, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type = "spec-remove-section" is not listed as a valid overlay type in external/schemas/azldev.schema.json (ComponentOverlay.type enum). This risks breaking config consumers that validate against the schema. Prefer a supported overlay type (scoped to the relevant section/package) or update schema/tooling together with this change.
| description = "Remove %package +xen-devel section" | |
| type = "spec-remove-section" | |
| section = "%package" | |
| package = "%{name}+xen-devel" | |
| [[components.rust-vm-memory.overlays]] | |
| description = "Remove %description +xen-devel section" | |
| type = "spec-remove-section" | |
| section = "%description" | |
| package = "%{name}+xen-devel" | |
| [[components.rust-vm-memory.overlays]] | |
| description = "Remove %files +xen-devel section" | |
| type = "spec-remove-section" | |
| section = "%files" | |
| package = "%{name}+xen-devel" | |
| description = "Remove the Xen devel subpackage declaration using a schema-supported overlay type" | |
| type = "spec-search-replace" | |
| regex = '^%package\\s+-n\\s+%\\{name\\}\\+xen-devel$' | |
| replacement = "" | |
| [[components.rust-vm-memory.overlays]] | |
| description = "Clear the Xen devel subpackage description section using a schema-supported overlay type" | |
| type = "spec-search-replace" | |
| section = "%description" | |
| package = "%{name}+xen-devel" | |
| regex = '^.*$' | |
| replacement = "" | |
| [[components.rust-vm-memory.overlays]] | |
| description = "Clear the Xen devel subpackage files section using a schema-supported overlay type" | |
| type = "spec-search-replace" | |
| section = "%files" | |
| package = "%{name}+xen-devel" | |
| regex = '^.*$' | |
| replacement = "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type = "spec-remove-section"is not a recognized overlay type in the repo’s azldev schema (external/schemas/azldev.schema.jsonComponentOverlay.type enum). As-is, this comp file is likely to fail schema-based validation/tooling or be ignored by overlay application. Use a supported overlay type (e.g., a scopedspec-search-replacethat removes the%packageblock) or update the schema/tooling in the same PR to formally addspec-remove-section.