|
|
247641 |
From 14a0cef248d2996cde90e64ae56d7bdb569b3995 Mon Sep 17 00:00:00 2001
|
|
|
247641 |
From: =?UTF-8?q?V=C3=A1clav=20Pavl=C3=ADn?= <vpavlin@redhat.com>
|
|
|
247641 |
Date: Mon, 23 Sep 2013 14:05:59 +0200
|
|
|
247641 |
Subject: [PATCH] Place udev rules to /usr/lib
|
|
|
247641 |
|
|
|
247641 |
---
|
|
|
247641 |
biosdevname.rules.in | 2 +-
|
|
|
247641 |
configure.ac | 2 +-
|
|
|
247641 |
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
247641 |
|
|
|
247641 |
diff --git a/biosdevname.rules.in b/biosdevname.rules.in
|
|
|
247641 |
index 0a32aa5..eb2ed3c 100644
|
|
|
247641 |
--- a/biosdevname.rules.in
|
|
|
247641 |
+++ b/biosdevname.rules.in
|
|
|
247641 |
@@ -19,6 +19,6 @@ LABEL="netdevicename_start"
|
|
|
247641 |
|
|
|
247641 |
# using NAME= instead of setting INTERFACE_NAME, so that persistent
|
|
|
247641 |
# names aren't generated for these devices, they are "named" on each boot.
|
|
|
247641 |
-SUBSYSTEMS=="pci", PROGRAM="/sbin/biosdevname --policy physical -i %k", NAME="%c", OPTIONS+="string_escape=replace"
|
|
|
247641 |
+SUBSYSTEMS=="pci", PROGRAM="/usr/sbin/biosdevname --policy physical -i %k", NAME="%c", OPTIONS+="string_escape=replace"
|
|
|
247641 |
|
|
|
247641 |
LABEL="netdevicename_end"
|
|
|
247641 |
diff --git a/configure.ac b/configure.ac
|
|
|
247641 |
index e26ba98..8c12cb8 100644
|
|
|
247641 |
--- a/configure.ac
|
|
|
247641 |
+++ b/configure.ac
|
|
|
247641 |
@@ -68,7 +68,7 @@ AC_CHECK_FUNCS([dup2 gettimeofday memset munmap select socket strcasecmp strchr
|
|
|
247641 |
|
|
|
247641 |
# this is ugly, but accounts for SLES 10, Red Hat/Fedora, and Ubuntu
|
|
|
247641 |
# handles default udev rules as of udev 114 or thereabouts
|
|
|
247641 |
-RULEDEST=/lib/udev/rules.d/71-biosdevname.rules
|
|
|
247641 |
+RULEDEST=${prefix}/lib/udev/rules.d/71-biosdevname.rules
|
|
|
247641 |
|
|
|
247641 |
if [[ -e /etc/udev/rules.d/60-net.rules ]]; then
|
|
|
247641 |
# RHEL 5 / Fedora
|
|
|
247641 |
--
|
|
|
247641 |
1.8.3.1
|
|
|
247641 |
|