- Replace NAME= with SYMLINK+= in udev rules (bnc#779718)

+ use-symlink-in-udev-rules.patch

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/ocfs2-tools?expand=0&rev=56
This commit is contained in:
Tim Serong 2013-05-27 08:13:31 +00:00 committed by Git OBS Bridge
parent 9dc35c2df8
commit ed56271896
3 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 27 08:14:45 UTC 2013 - tserong@suse.com
- Replace NAME= with SYMLINK+= in udev rules (bnc#779718)
+ use-symlink-in-udev-rules.patch
-------------------------------------------------------------------
Wed May 22 03:04:22 UTC 2013 - tserong@suse.com

View File

@ -44,6 +44,7 @@ Patch209: 0002-Break-a-chain-loop-in-group-desc.patch
Patch210: restore-g_list_append.patch
Patch212: bug-805764-ocfs2-controld.patch
Patch213: bnc804707-reduce-RR-priority.patch
Patch214: use-symlink-in-udev-rules.patch
BuildRequires: autoconf
BuildRequires: e2fsprogs-devel
BuildRequires: libaio-devel
@ -141,6 +142,7 @@ managing the file system.
%patch210 -p1
%patch212 -p1
%patch213 -p1
%patch214 -p1
%build
export PROJECT="ocfs2-tools"

View File

@ -0,0 +1,8 @@
Index: ocfs2-tools-1.8.2+git.1361836695.ff84eb5/vendor/common/51-ocfs2.rules
===================================================================
--- ocfs2-tools-1.8.2+git.1361836695.ff84eb5.orig/vendor/common/51-ocfs2.rules
+++ ocfs2-tools-1.8.2+git.1361836695.ff84eb5/vendor/common/51-ocfs2.rules
@@ -1,2 +1,2 @@
-KERNEL=="ocfs2_control", NAME="misc/ocfs2_control", MODE="0660"
+KERNEL=="ocfs2_control", SYMLINK+="misc/ocfs2_control", MODE="0660"