Skip to content
Closed
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
22 changes: 0 additions & 22 deletions base/comps/rust-nix/fix-4part-kernel-version.patch

This file was deleted.

15 changes: 0 additions & 15 deletions base/comps/rust-nix/rust-nix.comp.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
[components.rust-nix]

# Azure Linux kernels use 4-part versions (e.g. 6.6.121.1-1.azl3) which the
# semver crate in test helpers cannot parse. Patch the require_kernel_version!
# macro to handle this by truncating to 3 numeric components.
[[components.rust-nix.overlays]]
description = "Add patch file to handle 4-part kernel versions in the require_kernel_version test macro"
type = "file-add"
file = "fix-4part-kernel-version.patch"
source = "fix-4part-kernel-version.patch"

[[components.rust-nix.overlays]]
description = "Register the 4-part kernel version fix patch in the spec"
type = "spec-insert-tag"
tag = "Patch9999"
value = "fix-4part-kernel-version.patch"

# inotify tests fail with ENOSPC in containerized/mock build environments due
# to exhausted inotify instance limits.
[[components.rust-nix.overlays]]
Expand Down
Loading