28f635be8c
based on Debian's packaging work, but simplified: - no DKMS - no dracut - no udebs and remove old patches which were based on top of Debian's packaging. Reviewed-by: Stoiko Ivanov <s.ivanov@proxmox.com> Tested-by: Stoiko Ivanov <s.ivanov@proxmox.com> Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
27 lines
1.0 KiB
Diff
27 lines
1.0 KiB
Diff
From: =?utf-8?q?Fabian_Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
|
|
Date: Mon, 24 Oct 2016 13:47:06 +0200
|
|
Subject: import with -d /dev/disk/by-id in scan service
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset="utf-8"
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
|
|
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
|
|
---
|
|
etc/systemd/system/zfs-import-scan.service.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/etc/systemd/system/zfs-import-scan.service.in b/etc/systemd/system/zfs-import-scan.service.in
|
|
index fd66505..5cbfec8 100644
|
|
--- a/etc/systemd/system/zfs-import-scan.service.in
|
|
+++ b/etc/systemd/system/zfs-import-scan.service.in
|
|
@@ -13,7 +13,7 @@ ConditionPathExists=!@sysconfdir@/zfs/zpool.cache
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStartPre=-/sbin/modprobe zfs
|
|
-ExecStart=@sbindir@/zpool import -aN -o cachefile=none
|
|
+ExecStart=@sbindir@/zpool import -aN -d /dev/disk/by-id -o cachefile=none
|
|
|
|
[Install]
|
|
WantedBy=zfs-import.target
|