]>
Commit | Line | Data |
---|---|---|
688d702d DH |
1 | From: Darik Horn <dajhorn@vanadac.com> |
2 | Date: Fri, 13 Apr 2012 09:22:29 -0500 | |
3906dce5 | 3 | Subject: Improve the SPL version error for DKMS systems. |
688d702d DH |
4 | |
5 | During kernel package upgrades, if DKMS tries to build the ZFS | |
6 | modules before the SPL module, 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 | Closes: dajhorn/pkg-zfs#30 | |
14 | --- | |
15 | config/kernel.m4 | 5 ++++- | |
16 | 1 file changed, 4 insertions(+), 1 deletion(-) | |
17 | ||
18 | diff --git a/config/kernel.m4 b/config/kernel.m4 | |
ebb48125 | 19 | index 64c9770..d0b4b32 100644 |
688d702d DH |
20 | --- a/config/kernel.m4 |
21 | +++ b/config/kernel.m4 | |
ebb48125 | 22 | @@ -356,7 +356,10 @@ AC_DEFUN([ZFS_AC_SPL], [ |
688d702d DH |
23 | AC_MSG_RESULT([Not found]) |
24 | AC_MSG_ERROR([ | |
25 | *** Cannot determine the version of the spl source. | |
26 | - *** Please prepare the spl source before running this script]) | |
27 | + *** ZFS depends on the SPL kernel module, which is not yet ready. | |
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 | AC_MSG_RESULT([$splsrcver]) | |
34 | -- |