Package: libvirt / 5.6.0-2

Set-defaults-for-zfs-tools.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: =?utf-8?q?Guido_G=C3=BCnther?= <agx@sigxcpu.org>
Date: Sun, 14 Aug 2016 15:27:48 +0200
Subject: Set defaults for zfs tools

so we don't have to build-depend on a program in contrib
---
 m4/virt-storage-zfs.m4 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/m4/virt-storage-zfs.m4 b/m4/virt-storage-zfs.m4
index 0c52264..1d5781b 100644
--- a/m4/virt-storage-zfs.m4
+++ b/m4/virt-storage-zfs.m4
@@ -24,8 +24,8 @@ AC_DEFUN([LIBVIRT_STORAGE_ARG_ZFS], [
 AC_DEFUN([LIBVIRT_STORAGE_CHECK_ZFS], [
   if test "$with_storage_zfs" = "yes" ||
      test "$with_storage_zfs" = "check"; then
-    AC_PATH_PROG([ZFS], [zfs], [], [$LIBVIRT_SBIN_PATH])
-    AC_PATH_PROG([ZPOOL], [zpool], [], [$LIBVIRT_SBIN_PATH])
+    AC_PATH_PROG([ZFS], [zfs], [/sbin/zfs], [$LIBVIRT_SBIN_PATH])
+    AC_PATH_PROG([ZPOOL], [zpool], [/sbin/zpool], [$LIBVIRT_SBIN_PATH])
 
     if test "$with_storage_zfs" = "yes"; then
       if test -z "$ZFS" || test -z "$ZPOOL"; then