Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: e38b74ba89d3d03e01ee751131d2a6dc316ac33a
https://github.com/NixOS/nixpkgs/commit/e38b74ba89d3d03e01ee751131d2a6dc316ac33a
Author: Joachim Fasting <[email protected]>
Date: 2016-11-18 (Fri, 18 Nov 2016)
Changed paths:
A pkgs/os-specific/linux/kernel/grsecurity-modinst.patch
M pkgs/os-specific/linux/kernel/patches.nix
M pkgs/top-level/all-packages.nix
Log Message:
-----------
grsecurity: work around for #20490
In `scripts/Makefile.modinst`, the code that generates the list of
modules to install passes file names via the command line. When
installing a grsecurity kernel, this list appears to exceed the
shell's argument list limit, as in
make[2]: execvp: /nix/store/[...]-bash-4.3-p46/bin/bash: Argument list too
long
The build does not fail, however, but the list of modules to be installed ends
up being empty. Thus, the resulting kernel package output contains no modules,
rendering it useless.
We work around this by patching the makefile to use `find -exec` to
process files. Why this would occur for grsecurity and not other
kernels is unknown, most likely there's something *else* that is
actually causing this behaviour, so this is a temporary fix until that
cause is found.
Fixes https://github.com/NixOS/nixpkgs/issues/20490
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits