use policy=all_names to find breakage

This commit is contained in:
Matt Domsch 2008-05-06 20:19:20 +00:00
parent 4f4952f379
commit 3cefc0c3fb
2 changed files with 16 additions and 1 deletions

View File

@ -0,0 +1,10 @@
--- biosdevname-0.2.4/biosdevname.rules.in.orig 2008-05-06 15:15:45.000000000 -0500
+++ biosdevname-0.2.4/biosdevname.rules.in 2008-05-06 15:16:02.000000000 -0500
@@ -2,6 +2,6 @@
ACTION!="add", GOTO="biosdevname_end"
NAME=="?*", GOTO="biosdevname_end"
-PROGRAM="/sbin/biosdevname --policy=all_ethN -i %k", ENV{INTERFACE_NAME}="%c"
+PROGRAM="/sbin/biosdevname --policy=all_names -i %k", ENV{INTERFACE_NAME}="%c"
LABEL="biosdevname_end"

View File

@ -1,6 +1,6 @@
Name: biosdevname
Version: 0.2.4
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Udev helper for naming devices per BIOS names
Group: System Environment/Base
@ -20,6 +20,7 @@ BuildRequires: udev
# releases after 115-3.20070920.git have the proper write_net_rules and 75-persistent-net-names.rules files
Requires: udev > 115-3.20070920git
Patch0: biosdevname-0.2.4-policy.patch
%description
biosdevname in its simplest form takes a kernel device name as an
@ -30,6 +31,7 @@ name (e.g. eth0).
%prep
%setup -q
%patch0 -p1
%build
# this is a udev rule, so it needs to live in / rather than /usr
@ -54,6 +56,9 @@ rm -rf %{buildroot}
%changelog
* Tue May 06 2008 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-5
- use policy=all_names to find breakage
* Sun Feb 10 2008 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-4
- rebuild for gcc43