This commit is contained in:
parent
03800d77db
commit
667221d829
23
biosdevname-policy-all_names.diff
Normal file
23
biosdevname-policy-all_names.diff
Normal file
@ -0,0 +1,23 @@
|
||||
From: Bernhard Walle <bwalle@suse.de>
|
||||
Subject: [PATCH] Change to --policy=all_names
|
||||
References: bnc#441079
|
||||
|
||||
See the Bugzilla.
|
||||
|
||||
|
||||
Signed-off-by: Bernhard Walle <bwalle@suse.de>
|
||||
|
||||
---
|
||||
biosdevname.rules.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/biosdevname.rules.in
|
||||
+++ b/biosdevname.rules.in
|
||||
@@ -2,6 +2,6 @@ KERNEL!="eth*", GOTO="biosdevname_end"
|
||||
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"
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 24 17:46:38 CET 2008 - bwalle@suse.de
|
||||
|
||||
- Change to --policy=all_names (bnc#441079).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 09 18:11:29 CEST 2008 - bwalle@suse.de
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
Name: biosdevname
|
||||
Version: 0.2.4
|
||||
Release: 59
|
||||
Release: 60
|
||||
Summary: Udev helper for naming devices per BIOS names
|
||||
Group: System/Base
|
||||
License: GPL v2 only
|
||||
@ -40,6 +40,7 @@ PreReq: mkinitrd
|
||||
# for ownership of /etc/udev/rules.d
|
||||
Requires: udev
|
||||
Patch0: %{name}-delete-unused-function.diff
|
||||
Patch1: %{name}-policy-all_names.diff
|
||||
|
||||
%description
|
||||
biosdevname in its simplest form takes an kernel name name as an
|
||||
@ -57,6 +58,7 @@ Authors:
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
# this is a udev rule, so it needs to live in / rather than /usr
|
||||
@ -91,6 +93,8 @@ mkinitrd_setup
|
||||
mkinitrd_setup
|
||||
|
||||
%changelog
|
||||
* Mon Nov 24 2008 bwalle@suse.de
|
||||
- Change to --policy=all_names (bnc#441079).
|
||||
* Thu Oct 09 2008 bwalle@suse.de
|
||||
- Delete unused function onboard_device_type() (bnc#433795).
|
||||
* Thu Jul 31 2008 bwalle@suse.de
|
||||
@ -102,5 +106,5 @@ mkinitrd_setup
|
||||
command line parsing.
|
||||
* Mon Sep 03 2007 bwalle@suse.de
|
||||
- fix crash on startup
|
||||
* Mon Sep 03 2007 bwalle@suse.de
|
||||
* Sun Sep 02 2007 bwalle@suse.de
|
||||
- initial package for SUSE (209107, FATE 301528)
|
||||
|
Loading…
Reference in New Issue
Block a user