]> git.proxmox.com Git - mirror_zfs-debian.git/blame - debian/patches/0007-Improve-the-SPL-version-error-for-DKMS-systems.patch
Refresh debian/patches after upstream merge.
[mirror_zfs-debian.git] / debian / patches / 0007-Improve-the-SPL-version-error-for-DKMS-systems.patch
CommitLineData
688d702d
DH
1From: Darik Horn <dajhorn@vanadac.com>
2Date: Fri, 13 Apr 2012 09:22:29 -0500
3906dce5 3Subject: Improve the SPL version error for DKMS systems.
688d702d
DH
4
5During kernel package upgrades, if DKMS tries to build the ZFS
6modules before the SPL module, then the operator gets an error
7message that does not apply to installations that are mananged by
8DKMS. Change the error message to fit apt-get systems.
9
10A better solution would be to implement a dependency model in DKMS,
11or to bundle SPL into the ZFS package.
12
13Closes: dajhorn/pkg-zfs#30
14---
15 config/kernel.m4 | 5 ++++-
16 1 file changed, 4 insertions(+), 1 deletion(-)
17
18diff --git a/config/kernel.m4 b/config/kernel.m4
ebb48125 19index 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--