]> git.proxmox.com Git - zfsonlinux.git/blob - debian/patches/0006-dont-symlink-zed-scripts.patch
add ident to zedlet-list creation patch
[zfsonlinux.git] / debian / patches / 0006-dont-symlink-zed-scripts.patch
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Antonio Russo <antonio.e.russo@gmail.com>
3 Date: Fri, 20 Mar 2020 17:28:43 +0100
4 Subject: [PATCH] dont symlink zed scripts
5
6 (cherry picked and adapted from 5cee380324d74e640d5dd7a360faba3994c8007f [0])
7
8 [0] https://salsa.debian.org/zfsonlinux-team/zfs.git
9
10 Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
11
12 Description: track default symlinks, instead of symlinking
13 Forwarded: no need
14 ---
15 cmd/zed/zed.d/Makefile.am | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 diff --git a/cmd/zed/zed.d/Makefile.am b/cmd/zed/zed.d/Makefile.am
19 index 716db2b2f..57fed7fdf 100644
20 --- a/cmd/zed/zed.d/Makefile.am
21 +++ b/cmd/zed/zed.d/Makefile.am
22 @@ -52,6 +52,6 @@ install-data-hook:
23 for f in $(zedconfdefaults); do \
24 test -f "$(DESTDIR)$(zedconfdir)/$${f}" -o \
25 -L "$(DESTDIR)$(zedconfdir)/$${f}" || \
26 - ln -s "$(zedexecdir)/$${f}" "$(DESTDIR)$(zedconfdir)"; \
27 + echo "$${f}" >> "$(DESTDIR)$(zedexecdir)/DEFAULT-ENABLED" ; \
28 done
29 chmod 0600 "$(DESTDIR)$(zedconfdir)/zed.rc"