User and server binaries cannot be shipped separately. The bos tool uses a
hard-coded path to the volume salvage command (which resides with the server
binaries). Splitting them into separate outputs invalidates the reference in the
bos tool (due to remove-references-to). This rendered the volume salvager
inoperable (which is obviously a bad thing).
OpenAFS 1.8.2 does has not yet merged support for Linux 4.20 or 5.0
This patch cherry-picks commits from the git repository, and includes
them in the patches/ directory. This also replaces the amalgamated Linux 4.20
patches I added earlier with the original outputs from `git show`.
This has been tested to build on Linux 4.4, 4.14, 4.20, and 5.0.
This does not change the derivations of openafs_1_8, only
linuxPackages_*.openafs_1_8.
OpenAFS version 1.8.2 does not have support for Linux 4.20,
meaning that linuxPackages_latest.openafs_1_8 would fail
to build.
This patch adds patches taken from the OpenAFS git to
remove the references to deprecated functions. This has been
tested on Linux 4.20 and Linux 4.14
This patch must be removed when OpenAFS 1.8.3 is released
and improved when Linux 5.0 is added to Nix
`version` doesn't include .0 patch versions, or suffixes (eg -gnu).
For .0 patch versions, this isn't a problem, since the glob takes care
of everything after a `.`. It does, however, prevent openafs installing
for suffixed kernels.
- Introduce new "server" output holding the server binaries
- Adapt tsmbac.patch to new build environment
- Adapt openafs nixos server module accordingly
- Update upstream CellServDB: 2017-03-14 -> 2018-05-14
- Introduce package attributes to refer to the openafs packages to use for
server, programs and kernel module