1 From 0621f2d155fcf7b12498e39fdb0867748ce8c626 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
3 Date: Thu, 12 Oct 2017 09:01:08 +0200
4 Subject: [PATCH 07/11] fix install path of zpool.d scripts
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
11 .../0010-fix-install-path-of-zpool.d-scripts.patch | 37 ++++++++++++++++++++++
12 debian/patches/series | 1 +
13 2 files changed, 38 insertions(+)
14 create mode 100644 debian/patches/0010-fix-install-path-of-zpool.d-scripts.patch
16 diff --git a/debian/patches/0010-fix-install-path-of-zpool.d-scripts.patch b/debian/patches/0010-fix-install-path-of-zpool.d-scripts.patch
18 index 000000000..8fc81b144
20 +++ b/debian/patches/0010-fix-install-path-of-zpool.d-scripts.patch
22 +From: =?utf-8?q?Fabian_Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
23 +Date: Thu, 12 Oct 2017 08:57:48 +0200
24 +Subject: fix install path of zpool.d scripts
26 +Content-Type: text/plain; charset="utf-8"
27 +Content-Transfer-Encoding: 8bit
29 +Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
31 + cmd/zpool/Makefile.am | 6 +++---
32 + 1 file changed, 3 insertions(+), 3 deletions(-)
34 +diff --git a/cmd/zpool/Makefile.am b/cmd/zpool/Makefile.am
35 +index 6eff1d1..872a223 100644
36 +--- a/cmd/zpool/Makefile.am
37 ++++ b/cmd/zpool/Makefile.am
38 +@@ -22,11 +22,11 @@ zpool_LDADD = \
41 + zpoolconfdir = $(sysconfdir)/zfs/zpool.d
42 +-zpoolexecdir = $(libexecdir)/zfs/zpool.d
43 ++zpoollibdir = /usr/lib/zfs-linux/zpool.d
45 + EXTRA_DIST = zpool.d/README
47 +-dist_zpoolexec_SCRIPTS = \
48 ++dist_zpoollib_SCRIPTS = \
52 +@@ -107,5 +107,5 @@ install-data-hook:
53 + for f in $(zpoolconfdefaults); do \
54 + test -f "$(DESTDIR)$(zpoolconfdir)/$${f}" -o \
55 + -L "$(DESTDIR)$(zpoolconfdir)/$${f}" || \
56 +- ln -s "$(zpoolexecdir)/$${f}" "$(DESTDIR)$(zpoolconfdir)"; \
57 ++ ln -s "$(zpoollibdir)/$${f}" "$(DESTDIR)$(zpoolconfdir)"; \
59 diff --git a/debian/patches/series b/debian/patches/series
60 index b5e68c829..d6f6f87f9 100644
61 --- a/debian/patches/series
62 +++ b/debian/patches/series
63 @@ -6,3 +6,4 @@ enable-zed.patch
64 1004-zed-service-bindir.patch
65 0008-dracut-make-module-setup.sh-shebang-explicit.patch
66 0009-add-man-page-reference-to-systemd-units.patch
67 +0010-fix-install-path-of-zpool.d-scripts.patch