/[packages]/cauldron/systemd/current/SOURCES/0505-udev-rules-Apply-SuSE-patch-to-restore-cdrom-cdrw-dv.patch
ViewVC logotype

Contents of /cauldron/systemd/current/SOURCES/0505-udev-rules-Apply-SuSE-patch-to-restore-cdrom-cdrw-dv.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1554607 - (show annotations) (download)
Sat Mar 7 12:12:31 2020 UTC (4 years, 1 month ago) by tmb
File size: 1145 byte(s)
- update to v245
  * drop merged patches
  * update filelists
  * rebase Mageia patches


1 From e82630058780a233b6e8a4b651a1ae58a4bc2093 Mon Sep 17 00:00:00 2001
2 From: Colin Guthrie <colin@mageia.org>
3 Date: Mon, 8 Apr 2013 21:21:25 +0100
4 Subject: [PATCH 505/509] udev-rules: Apply SuSE patch to restore cdrom, cdrw,
5 dvd symlinks (related to mga#8524)
6
7 ---
8 rules.d/60-cdrom_id.rules | 5 ++++-
9 1 file changed, 4 insertions(+), 1 deletion(-)
10
11 diff --git a/rules.d/60-cdrom_id.rules b/rules.d/60-cdrom_id.rules
12 index 288f8ce2f..3c4234a7c 100644
13 --- a/rules.d/60-cdrom_id.rules
14 +++ b/rules.d/60-cdrom_id.rules
15 @@ -24,6 +24,9 @@ IMPORT{program}="cdrom_id --lock-media $devnode"
16 # stale mounts after ejecting
17 ENV{DISK_MEDIA_CHANGE}=="?*", ENV{ID_CDROM_MEDIA}!="?*", ENV{SYSTEMD_READY}="0"
18
19 -KERNEL=="sr0", SYMLINK+="cdrom", OPTIONS+="link_priority=-100"
20 +KERNEL=="sr0", ENV{ID_CDROM}=="1", SYMLINK+="cdrom", OPTIONS+="link_priority=-100"
21 +KERNEL=="sr0", ENV{ID_CDROM_CD_RW}=="1", SYMLINK+="cdrw", OPTIONS+="link_priority=-100"
22 +KERNEL=="sr0", ENV{ID_CDROM_DVD}=="1", SYMLINK+="dvd", OPTIONS+="link_priority=-100"
23 +KERNEL=="sr0", ENV{ID_CDROM_DVD_RW}=="1", SYMLINK+="dvdrw", OPTIONS+="link_priority=-100"
24
25 LABEL="cdrom_end"
26 --
27 2.13.5
28

  ViewVC Help
Powered by ViewVC 1.1.30