-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Source
30 lines (24 loc) · 1.27 KB
/
README.Source
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
zfs-linux for Debian
Using DKMS is the recommended way of installing this kernel
module, however if you do have the need of building deb/udeb
packages containing the binary kernel module, here is the way.
Be careful when proceed with this way, as your attention is
required when kernel ABI get changed on target system that this
module needs to be rebuilt and it needs to replace the originally
installed package with this newly built one on target system.
You may first install all required build dependency on a machine
that runs the very same kernel as on your target system, then
execute following command at the top level directory of the
decompressed debian source package. Do not install the generated
package with kernels that have different configuration, which is
not supported and likely to break things.
* deb packages:
fakeroot debian/rules override_dh_binary-modules
* udeb packages:
fakeroot debian/rules override_dh_binary-modules-udeb
udeb packages for libraries and utilities are not generated by
default, if you need them then rebuild this package passing the
variable BUILD_UDEB=true.
zfs-initramfs is built on linux-any to avoid un-wanted installation
on non-linux architectures that do not need it.
-- Aron Xu <aron@debian.org> Sun, 14 July 2013 04:00:12 +0800