]>
Commit | Line | Data |
---|---|---|
33b9f029 AX |
1 | zfs-linux for Debian |
2 | ||
3 | Using DKMS is the recommended way of installing this kernel | |
4 | module, however if you do have the need of building deb/udeb | |
5 | packages containing the binary kernel module, here is the way. | |
6 | Be careful when proceed with this way, as your attention is | |
7 | required when kernel ABI get changed on target system that this | |
8 | module needs to be rebuilt and it needs to replace the originally | |
9 | installed package with this newly built one on target system. | |
10 | ||
11 | You may first install all required build dependency on a machine | |
12 | that runs the very same kernel as on your target system, then | |
13 | execute following command at the top level directory of the | |
14 | decompressed debian source package. Do not install the generated | |
15 | package with kernels that have different configuration, which is | |
16 | not supported and likely to break things. | |
17 | ||
18 | * deb packages: | |
19 | fakeroot debian/rules override_dh_binary-modules | |
20 | * udeb packages: | |
21 | fakeroot debian/rules override_dh_binary-modules-udeb | |
22 | ||
23 | Please be aware that building zfs kernel modules require a | |
24 | successful build of spl kernel modules, so you must install | |
25 | spl-dkms and configure it correctly on the builder machine before | |
26 | building this package. | |
27 | ||
85016758 AX |
28 | udeb packages for libraries and utilities are not generated by |
29 | default, if you need them then rebuild this package passing the | |
30 | variable BUILD_UDEB=true. | |
33b9f029 | 31 | |
400e7de2 AX |
32 | zfs-initramfs is built on linux-any to avoid un-wanted installation |
33 | on non-linux architectures that do not need it. | |
34 | ||
33b9f029 | 35 | -- Aron Xu <aron@debian.org> Sun, 14 July 2013 04:00:12 +0800 |