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