xref: /freebsd/sys/contrib/openzfs/contrib/debian/openzfs-zfs-dkms.templates (revision bdd1243df58e60e85101c09001d9812a789b6bc4)
1Template: zfs-dkms/stop-build-for-32bit-kernel
2Type: boolean
3Default: true
4_Description: Abort building OpenZFS on a 32-bit kernel?
5 You are attempting to build OpenZFS against a 32-bit running kernel.
6 .
7 Although possible, building in a 32-bit environment is unsupported and
8 likely to cause instability leading to possible data corruption. You
9 are strongly advised to use a 64-bit kernel; if you do decide to
10 proceed with using OpenZFS on this kernel then keep in mind that it is at
11 your own risk.
12
13Template: zfs-dkms/stop-build-for-unknown-kernel
14Type: boolean
15Default: true
16_Description: Abort building OpenZFS on an unknown kernel?
17 You are attempting to build OpenZFS against a running kernel that could not
18 be identified as 32-bit or 64-bit. If you are not completely sure that
19 the running kernel is a 64-bit one, you should probably stop the build.
20 .
21 Although possible, building in a 32-bit environment is unsupported and
22 likely to cause instability leading to possible data corruption. You
23 are strongly advised to use a 64-bit kernel; if you do decide to
24 proceed with using OpenZFS on this kernel then keep in mind that it is at
25 your own risk.
26
27Template: zfs-dkms/note-incompatible-licenses
28Type: note
29_Description: Licenses of OpenZFS and Linux are incompatible
30 OpenZFS is licensed under the Common Development and Distribution License (CDDL),
31 and the Linux kernel is licensed under the GNU General Public License Version 2
32 (GPL-2). While both are free open source licenses they are restrictive
33 licenses. The combination of them causes problems because it prevents using
34 pieces of code exclusively available under one license with pieces of code
35 exclusively available under the other in the same binary.
36 .
37 You are going to build OpenZFS using DKMS in such a way that they are not going to
38 be built into one monolithic binary. Please be aware that distributing both of
39 the binaries in the same media (disk images, virtual appliances, etc) may
40 lead to infringing.
41