3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs
Joachim Fasting e38b74ba89
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
2016-11-18 16:14:26 +01:00
..
applications Merge pull request #20280 from vandenoever/libreoffice 2016-11-17 22:22:30 -05:00
build-support singularity: init 2.2 2016-11-15 09:11:53 +11:00
data pecita: 5.3 -> 5.4 2016-11-17 00:06:41 +01:00
desktops kde5.applications: 16.08.2 -> 16.08.3 2016-11-15 07:22:51 -06:00
development ghcjsHEAD: don’t just copy & replace, reuse same code (#20493) 2016-11-18 16:13:56 +01:00
games supertux: 0.5.0 -> 0.5.1 2016-11-17 16:52:33 -02:00
misc Merge pull request #20519 from avnik/wine-update 2016-11-18 11:22:19 +00:00
os-specific grsecurity: work around for #20490 2016-11-18 16:14:26 +01:00
servers plex: 1.0.0 -> 1.2.7; fix some more binaries (#20137) 2016-11-17 18:16:20 -06:00
shells rush: 1.7 -> 1.8 (#20424) 2016-11-15 13:33:56 +00:00
stdenv allowUnfree: mention the solution that works for nix-shell as well 2016-11-16 15:14:19 +01:00
test
tools svtplay-dl: 1.7 -> 1.8 2016-11-18 00:12:00 +01:00
top-level grsecurity: work around for #20490 2016-11-18 16:14:26 +01:00