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