]> git.proxmox.com Git - mirror_zfs-debian.git/blob - debian/patches/0006-Improve-the-with-spl-error-for-DKMS-systems.patch
Add: Add-.zfs-control-directory.patch
[mirror_zfs-debian.git] / debian / patches / 0006-Improve-the-with-spl-error-for-DKMS-systems.patch
1 From 1ee1fa02519991f3a98fd7ec548b395d12a9d16d Mon Sep 17 00:00:00 2001
2 From: Darik Horn <dajhorn@vanadac.com>
3 Date: Fri, 3 Feb 2012 14:49:49 -0600
4 Subject: [PATCH 6/8] Improve the --with-spl error for DKMS systems.
5
6 If the SPL module is unavailable, then the operator gets an error
7 message that does not apply to installations that are mananged by
8 DKMS. Change the error message to fit apt-get systems.
9
10 A better solution would be to implement a dependency model in DKMS,
11 or to bundle SPL into the ZFS package.
12 ---
13 config/kernel.m4 | 7 ++++---
14 1 files changed, 4 insertions(+), 3 deletions(-)
15
16 diff --git a/config/kernel.m4 b/config/kernel.m4
17 index 0adcead..bf43a75 100644
18 --- a/config/kernel.m4
19 +++ b/config/kernel.m4
20 @@ -256,9 +256,10 @@ AC_DEFUN([ZFS_AC_SPL], [
21 ], [
22 AC_MSG_RESULT([Not found])
23 AC_MSG_ERROR([
24 - *** Please make sure the spl devel package for your distribution
25 - *** is installed then try again. If that fails you can specify the
26 - *** location of the spl source with the '--with-spl=PATH' option.])
27 + *** ZFS depends on the SPL kernel module, which is not found.
28 + *** DKMS should retry zfs-dkms momentarily after building spl-dkms.
29 + *** If this error message persists, or if you are running DKMS manually,
30 + *** then run 'apt-get install --reinstall spl-dkms' and try again.])
31 ])
32 ], [
33 AS_IF([test "$splsrc" = "NONE"], [
34 --
35 1.7.5.4
36