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