On linux-3.10, build in #! script support
Starting with 3.10, #! script handling can be built modularly (or not at all). By default the nixpkgs builder sets everything modular, but since our initird init is a #! script this creates a chicken-and-egg problem on NixOS. Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
@@ -244,6 +244,9 @@ let
|
|||||||
# Easier debug of NFS issues
|
# Easier debug of NFS issues
|
||||||
SUNRPC_DEBUG y
|
SUNRPC_DEBUG y
|
||||||
|
|
||||||
|
# Our initrd init uses shebang scripts, so can't be modular
|
||||||
|
BINFMT_SCRIPT y
|
||||||
|
|
||||||
${if kernelPlatform ? kernelExtraConfig then kernelPlatform.kernelExtraConfig else ""}
|
${if kernelPlatform ? kernelExtraConfig then kernelPlatform.kernelExtraConfig else ""}
|
||||||
${extraConfig}
|
${extraConfig}
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user