Compare commits
6 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3af29334e0 | ||
|
|
595385f077 | ||
|
|
ba2a375b0f | ||
|
|
2f07799149 |
||
|
|
13be95eb2f | ||
|
|
034d4acc87 |
3 changed files with 40 additions and 0 deletions
|
|
@ -5,16 +5,19 @@ jobs:
|
|||
trigger: release
|
||||
dist_git_branches:
|
||||
- fedora-all
|
||||
- epel-9
|
||||
|
||||
- job: pull_from_upstream
|
||||
trigger: release
|
||||
dist_git_branches:
|
||||
- fedora-all
|
||||
- epel-9
|
||||
|
||||
- job: koji_build
|
||||
trigger: commit
|
||||
dist_git_branches:
|
||||
- fedora-all
|
||||
- epel-9
|
||||
allowed_pr_authors:
|
||||
- packit
|
||||
- mhayden
|
||||
|
|
@ -26,3 +29,4 @@ jobs:
|
|||
trigger: commit
|
||||
dist_git_branches:
|
||||
- fedora-branched
|
||||
- epel-9
|
||||
|
|
|
|||
|
|
@ -6,6 +6,10 @@ License: MIT AND CC-BY-SA-4.0
|
|||
URL: https://github.com/amazonlinux/%{name}/
|
||||
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
|
||||
|
||||
# Skip the EBS udev rules as they create invalid symlinks.
|
||||
# See RHBZ#2284397 for more details.
|
||||
Patch0: remove-EBS-udev-rules.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: curl
|
||||
|
|
|
|||
32
remove-EBS-udev-rules.patch
Normal file
32
remove-EBS-udev-rules.patch
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
From 87d578a723f270b4a2bba120f3a143bc7c8b1b19 Mon Sep 17 00:00:00 2001
|
||||
From: Major Hayden <major@redhat.com>
|
||||
Date: Mon, 23 Sep 2024 10:47:15 -0500
|
||||
Subject: [PATCH] Remove EBS udev rules
|
||||
|
||||
These rules create invalid symlinks.
|
||||
|
||||
See RHBZ 2284397.
|
||||
|
||||
Signed-off-by: Major Hayden <major@redhat.com>
|
||||
---
|
||||
70-ec2-nvme-devices.rules | 4 ----
|
||||
1 file changed, 4 deletions(-)
|
||||
|
||||
diff --git a/70-ec2-nvme-devices.rules b/70-ec2-nvme-devices.rules
|
||||
index 6fae458..8f415a7 100644
|
||||
--- a/70-ec2-nvme-devices.rules
|
||||
+++ b/70-ec2-nvme-devices.rules
|
||||
@@ -13,10 +13,6 @@ KERNEL=="nvme[0-9]*n[0-9]*", ENV{DEVTYPE}=="disk", ATTRS{serial}=="?*", ATTRS{mo
|
||||
KERNEL=="nvme[0-9]*n[0-9]*p[0-9]*", ENV{DEVTYPE}=="partition", ATTRS{serial}=="?*", ATTRS{model}=="?*", IMPORT{program}="/usr/sbin/ec2nvme-nsid %k"
|
||||
KERNEL=="nvme[0-9]*n[0-9]*p[0-9]*", ENV{DEVTYPE}=="partition", ATTRS{serial}=="?*", ATTRS{model}=="?*", ENV{_NS_ID}=="?*", SYMLINK+="disk/by-id/nvme-$attr{model}_$attr{serial}-ns-$env{_NS_ID}-part%n", OPTIONS+="string_escape=replace"
|
||||
|
||||
-# ebs nvme devices
|
||||
-KERNEL=="nvme[0-9]*n[0-9]*", ENV{DEVTYPE}=="disk", ATTRS{model}=="Amazon Elastic Block Store", PROGRAM="/usr/sbin/ebsnvme-id -u /dev/%k", SYMLINK+="%c"
|
||||
-KERNEL=="nvme[0-9]*n[0-9]*p[0-9]*", ENV{DEVTYPE}=="partition", ATTRS{model}=="Amazon Elastic Block Store", PROGRAM="/usr/sbin/ebsnvme-id -u /dev/%k", SYMLINK+="%c%n"
|
||||
-
|
||||
# Do not timeout I/O operations on EBS volumes.
|
||||
KERNEL=="nvme[0-9]*n[0-9]*", ENV{DEVTYPE}=="disk", ATTRS{model}=="Amazon Elastic Block Store", ATTR{queue/io_timeout}="4294967295"
|
||||
|
||||
--
|
||||
2.46.1
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue