- Make installation of systemd unit and udev files more flexible. add: multipath-tools-make-flexible-install-of-systemd-and-udev-files.patch OBS-URL: https://build.opensuse.org/request/show/155509 OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=43
30 lines
901 B
Diff
30 lines
901 B
Diff
Index: multipath-tools-0.4.9/Makefile.inc
|
|
===================================================================
|
|
--- multipath-tools-0.4.9.orig/Makefile.inc
|
|
+++ multipath-tools-0.4.9/Makefile.inc
|
|
@@ -21,10 +21,14 @@ ifndef LIB
|
|
endif
|
|
endif
|
|
|
|
+ifndef SYSDPATH
|
|
+ SYSDPATH=lib
|
|
+endif
|
|
+
|
|
prefix =
|
|
exec_prefix = $(prefix)
|
|
bindir = $(exec_prefix)/sbin
|
|
-libudevdir = ${prefix}/lib/udev
|
|
+libudevdir = ${prefix}/$(SYSDPATH)/udev
|
|
multipathdir = $(TOPDIR)/libmultipath
|
|
mandir = $(prefix)/usr/share/man/man8
|
|
man5dir = $(prefix)/usr/share/man/man5
|
|
@@ -32,7 +36,7 @@ man3dir = $(prefix)/usr/share/man/m
|
|
rcdir = $(prefix)/etc/init.d
|
|
syslibdir = $(prefix)/$(LIB)
|
|
libdir = $(prefix)/$(LIB)/multipath
|
|
-unitdir = $(prefix)/lib/systemd/system
|
|
+unitdir = $(prefix)/$(SYSDPATH)/systemd/system
|
|
mpathpersistdir = $(TOPDIR)/libmpathpersist
|
|
|
|
GZIP = /bin/gzip -9 -c
|