Skip to content

Commit

Permalink
ci: Remove amazon-ec2-utils if installed
Browse files Browse the repository at this point in the history
The /etc/udev/rules.d/60-cdrom_id.rules udev rule shipped by it
breaks UDisks tests.
See storaged-project/udisks#1346
  • Loading branch information
vojtechtrefny committed Jan 24, 2025
1 parent 29c81c0 commit a53083d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plans/udisks.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ prepare:
# TF prioritizes Fedora tag repo over all others, in particular our daily COPR
- for f in $(grep -l -r 'testing-farm-tag-repository' /etc/yum.repos.d); do sed -i '/priority/d' "$f" ;done
- sudo dnf -y update
# amazon-ec2-utils creates sda -> nvme symlinks breaking our tests
# amazon-ec2-utils also ships /etc/udev/rules.d/60-cdrom_id.rules that breaks scsi_debug cdrom capabilities
- if rpm -q amazon-ec2-utils; then rpm -e --verbose amazon-ec2-utils && udevadm trigger; fi

- name: ansible
how: ansible
Expand Down

0 comments on commit a53083d

Please sign in to comment.