summaryrefslogtreecommitdiffstats
path: root/0046-RHBZ-883981-move-udev-rules.patch
diff options
context:
space:
mode:
authorBenjamin Marzinski <bmarzins@redhat.com>2013-07-03 10:54:21 -0500
committerBenjamin Marzinski <bmarzins@redhat.com>2013-07-03 10:54:21 -0500
commitd92c85e91a30815380958cba24d8068f875c6442 (patch)
tree0b6993ed3ecd46f9456343294dce41b4f2d7ee59 /0046-RHBZ-883981-move-udev-rules.patch
parent37dccf5dea97b3c1fc1ea563894d18b7dfea3cb1 (diff)
downloaddevice-mapper-multipath-d92c85e91a30815380958cba24d8068f875c6442.tar.gz
device-mapper-multipath-d92c85e91a30815380958cba24d8068f875c6442.tar.xz
device-mapper-multipath-d92c85e91a30815380958cba24d8068f875c6442.zip
device-mapper-multipath-0.4.9-53
Add 0044-RHBZ-976688-fix-wipe-wwids.patch * Seek back to the start of the file after truncating it Add 0045-RHBZ-977297-man-page-fix.patch * update man page to match actual defaults Add 0046-RHBZ-883981-move-udev-rules.patch * move udev rules file from /lib to /usr/lib Resolves: bz #883981, #976688, #977297
Diffstat (limited to '0046-RHBZ-883981-move-udev-rules.patch')
-rw-r--r--0046-RHBZ-883981-move-udev-rules.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/0046-RHBZ-883981-move-udev-rules.patch b/0046-RHBZ-883981-move-udev-rules.patch
new file mode 100644
index 0000000..4e5bc85
--- /dev/null
+++ b/0046-RHBZ-883981-move-udev-rules.patch
@@ -0,0 +1,28 @@
+---
+ multipath/Makefile | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+Index: multipath-tools-130222/multipath/Makefile
+===================================================================
+--- multipath-tools-130222.orig/multipath/Makefile
++++ multipath-tools-130222/multipath/Makefile
+@@ -23,8 +23,8 @@ install:
+ $(INSTALL_PROGRAM) -d $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) -m 755 $(EXEC) $(DESTDIR)$(bindir)/
+ $(INSTALL_PROGRAM) -m 755 mpathconf $(DESTDIR)$(bindir)/
+- $(INSTALL_PROGRAM) -d $(DESTDIR)/lib/udev/rules.d
+- $(INSTALL_PROGRAM) -m 644 multipath.rules $(DESTDIR)/lib/udev/rules.d/62-multipath.rules
++ $(INSTALL_PROGRAM) -d $(DESTDIR)/usr/lib/udev/rules.d
++ $(INSTALL_PROGRAM) -m 644 multipath.rules $(DESTDIR)/usr/lib/udev/rules.d/62-multipath.rules
+ $(INSTALL_PROGRAM) -d $(DESTDIR)$(mandir)
+ $(INSTALL_PROGRAM) -m 644 $(EXEC).8.gz $(DESTDIR)$(mandir)
+ $(INSTALL_PROGRAM) -d $(DESTDIR)$(man5dir)
+@@ -32,7 +32,7 @@ install:
+ $(INSTALL_PROGRAM) -m 644 mpathconf.8.gz $(DESTDIR)$(mandir)
+
+ uninstall:
+- rm $(DESTDIR)/lib/udev/rules.d/62-multipath.rules
++ rm $(DESTDIR)/usr/lib/udev/rules.d/62-multipath.rules
+ rm $(DESTDIR)$(bindir)/$(EXEC)
+ rm $(DESTDIR)$(bindir)/mpathconf
+ rm $(DESTDIR)$(mandir)/$(EXEC).8.gz