diff --git a/ocfs2-tools.changes b/ocfs2-tools.changes index 41412a7..3ff5250 100644 --- a/ocfs2-tools.changes +++ b/ocfs2-tools.changes @@ -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 diff --git a/ocfs2-tools.spec b/ocfs2-tools.spec index d29933f..5a7cda4 100644 --- a/ocfs2-tools.spec +++ b/ocfs2-tools.spec @@ -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" diff --git a/use-symlink-in-udev-rules.patch b/use-symlink-in-udev-rules.patch new file mode 100644 index 0000000..6cba6cf --- /dev/null +++ b/use-symlink-in-udev-rules.patch @@ -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" +