diff options
author | Shea Levy <shea@shealevy.com> | 2012-07-29 01:57:59 -0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2012-07-29 01:57:59 -0400 |
commit | aa40e0ff5965c7d195026d193f216d58c3263b46 (patch) | |
tree | 3cdbda4b2a00402b88c9da4aad21eab76ad3a116 /pkgs/os-specific/linux/kernel/manual-config.nix | |
parent | dfa750732d34740577c2907be70450ad23aa37c4 (diff) |
linux/kernel/manual-config: The default 'make install' tries to do something with LILO, so install the kernel manually
Diffstat (limited to 'pkgs/os-specific/linux/kernel/manual-config.nix')
-rw-r--r-- | pkgs/os-specific/linux/kernel/manual-config.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/manual-config.nix b/pkgs/os-specific/linux/kernel/manual-config.nix index 79c8061bb10db..34bcaba3f316f 100644 --- a/pkgs/os-specific/linux/kernel/manual-config.nix +++ b/pkgs/os-specific/linux/kernel/manual-config.nix @@ -71,6 +71,16 @@ stdenv.mkDerivation ({ INSTALL_PATH = "$(out)"; buildNativeInputs = [ perl nettools ]; + + installPhase = '' + runHook preInstall + mkdir $out + mv -v System.map $out + # !!! Assumes x86 + mv -v arch/x86/boot/bzImage $out + mv -v vmlinux $out + runHook postInstall + ''; } // optionalAttrs features.modular { MODLIB = "$(out)/lib/modules/${modDirVersion}"; |