diff --git a/biosdevname-0.2.4-policy.patch b/biosdevname-0.2.4-policy.patch new file mode 100644 index 0000000..c421b87 --- /dev/null +++ b/biosdevname-0.2.4-policy.patch @@ -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" diff --git a/biosdevname.spec b/biosdevname.spec index 84fc47d..8667f0f 100644 --- a/biosdevname.spec +++ b/biosdevname.spec @@ -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 0.2.4-5 +- use policy=all_names to find breakage + * Sun Feb 10 2008 Matt Domsch 0.2.4-4 - rebuild for gcc43