- Drop 0005-udev-create-default-symlinks-for-primary-cd_dvd-driv.patch

These obsolete symlinks were kept because several years ago VLC was still
  relying on some of them. However it's been a long a time ago that it's been
  fixed and cdrom or similar devices are discovered in a better way.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1361
This commit is contained in:
Franck Bui 2023-03-20 08:37:06 +00:00 committed by Git OBS Bridge
parent 41d9804ed9
commit 150b109953
3 changed files with 9 additions and 30 deletions

View File

@ -1,29 +0,0 @@
From ae4741127dc0ae575d13b8a7b201207da6167517 Mon Sep 17 00:00:00 2001
From: Robert Milasan <rmilasan@suse.com>
Date: Sat, 12 Jul 2014 14:20:36 +0200
Subject: [PATCH 05/11] udev: create default symlinks for primary cd_dvd drive
Imported from SLE12-SP1, commit 4f8bacfbffd7049608b5076.
[rmilasan: fixes bnc#783054]
---
rules.d/60-cdrom_id.rules | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/rules.d/60-cdrom_id.rules b/rules.d/60-cdrom_id.rules
index 288f8ce2f9..578c77441c 100644
--- a/rules.d/60-cdrom_id.rules
+++ b/rules.d/60-cdrom_id.rules
@@ -25,5 +25,9 @@ IMPORT{program}="cdrom_id --lock-media $devnode"
ENV{DISK_MEDIA_CHANGE}=="?*", ENV{ID_CDROM_MEDIA}!="?*", ENV{SYSTEMD_READY}="0"
KERNEL=="sr0", SYMLINK+="cdrom", OPTIONS+="link_priority=-100"
+KERNEL=="sr0", ENV{ID_CDROM}=="1", SYMLINK+="cdrom", OPTIONS+="link_priority=-100"
+KERNEL=="sr0", ENV{ID_CDROM_CD_RW}=="1", SYMLINK+="cdrw", OPTIONS+="link_priority=-100"
+KERNEL=="sr0", ENV{ID_CDROM_DVD}=="1", SYMLINK+="dvd", OPTIONS+="link_priority=-100"
+KERNEL=="sr0", ENV{ID_CDROM_DVD_RW}=="1", SYMLINK+="dvdrw", OPTIONS+="link_priority=-100"
LABEL="cdrom_end"
--
2.26.2

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Mar 20 08:32:49 UTC 2023 - Franck Bui <fbui@suse.com>
- Drop 0005-udev-create-default-symlinks-for-primary-cd_dvd-driv.patch
These obsolete symlinks were kept because several years ago VLC was still
relying on some of them. However it's been a long a time ago that it's been
fixed and cdrom or similar devices are discovered in a better way.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 20 07:48:49 UTC 2023 - Alberto Planas Dominguez <aplanas@suse.com> Mon Mar 20 07:48:49 UTC 2023 - Alberto Planas Dominguez <aplanas@suse.com>

View File

@ -200,7 +200,6 @@ Source207: files.experimental
Patch1: 0001-restore-var-run-and-var-lock-bind-mount-if-they-aren.patch Patch1: 0001-restore-var-run-and-var-lock-bind-mount-if-they-aren.patch
Patch2: 0002-rc-local-fix-ordering-startup-for-etc-init.d-boot.lo.patch Patch2: 0002-rc-local-fix-ordering-startup-for-etc-init.d-boot.lo.patch
Patch3: 0003-strip-the-domain-part-from-etc-hostname-when-setting.patch Patch3: 0003-strip-the-domain-part-from-etc-hostname-when-setting.patch
Patch5: 0005-udev-create-default-symlinks-for-primary-cd_dvd-driv.patch
%if %{with sysvcompat} %if %{with sysvcompat}
Patch8: 0008-sysv-generator-translate-Required-Start-into-a-Wants.patch Patch8: 0008-sysv-generator-translate-Required-Start-into-a-Wants.patch
%endif %endif