From 5792ed4770946eb6dfbf6779fa48d004f1551193f49858049b67eb86947896fd Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Fri, 13 Jun 2014 11:17:54 +0000 Subject: [PATCH] Accepting request 237224 from home:trenn:branches:Base:System - For some reason /usr/lib/udev/rules.d/99-systemd.rules seem not to exist anymore. This is used to determine which udev rules.d to use. Use 95-udev-late.rules instead. Modified: udev-rule-path.patch OBS-URL: https://build.opensuse.org/request/show/237224 OBS-URL: https://build.opensuse.org/package/show/Base:System/biosdevname?expand=0&rev=31 --- biosdevname.changes | 8 ++++++++ biosdevname.spec | 3 +-- udev-rule-path.patch | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/biosdevname.changes b/biosdevname.changes index bc6c1e8..a898e27 100644 --- a/biosdevname.changes +++ b/biosdevname.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Jun 13 11:13:27 UTC 2014 - trenn@suse.de + +- For some reason /usr/lib/udev/rules.d/99-systemd.rules seem not to exist + anymore. This is used to determine which udev rules.d to use. + Use 95-udev-late.rules instead. + Modified: udev-rule-path.patch + ------------------------------------------------------------------- Fri May 16 11:11:22 UTC 2014 - trenn@suse.de diff --git a/biosdevname.spec b/biosdevname.spec index 736b013..7d36681 100644 --- a/biosdevname.spec +++ b/biosdevname.spec @@ -16,7 +16,6 @@ # - Name: biosdevname Version: 0.5.0 Release: 0 @@ -43,7 +42,7 @@ BuildRequires: zlib-devel # to figure out how to name/location of the rules file BuildRequires: libudev-devel BuildRequires: suse-module-tools -# for ownership of /lib/udev/rules.d +# for ownership of /usr/lib/udev/rules.d Requires: udev Supplements: modalias(dmi:*svnDell*) diff --git a/udev-rule-path.patch b/udev-rule-path.patch index 91c2a0d..5257189 100644 --- a/udev-rule-path.patch +++ b/udev-rule-path.patch @@ -7,7 +7,7 @@ Index: biosdevname-0.5.0/configure.ac RULEDEST=/lib/udev/rules.d/71-biosdevname.rules -if [[ -e /etc/udev/rules.d/60-net.rules ]]; then -+if [[ -e /usr/lib/udev/rules.d/99-systemd.rules ]]; then ++if [[ -e /usr/lib/udev/rules.d/95-udev-late.rules ]]; then + # openSUSE 12.3+ + RULEDEST=/usr/lib/udev/rules.d/71-biosdevname.rules +elif [[ -e /etc/udev/rules.d/60-net.rules ]]; then