5792ed4770
- 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
17 lines
727 B
Diff
17 lines
727 B
Diff
Index: biosdevname-0.5.0/configure.ac
|
|
===================================================================
|
|
--- biosdevname-0.5.0.orig/configure.ac
|
|
+++ biosdevname-0.5.0/configure.ac
|
|
@@ -70,7 +70,10 @@ AC_CHECK_FUNCS([dup2 gettimeofday memset
|
|
# handles default udev rules as of udev 114 or thereabouts
|
|
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/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
|
|
# RHEL 5 / Fedora
|
|
RULEDEST=/etc/udev/rules.d/60-biosdevname.rules
|
|
elif [[ -e /etc/udev/rules.d/31-network.rules ]]; then
|