From aa40e0ff5965c7d195026d193f216d58c3263b46 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Sun, 29 Jul 2012 01:57:59 -0400 Subject: [PATCH] linux/kernel/manual-config: The default 'make install' tries to do something with LILO, so install the kernel manually --- pkgs/os-specific/linux/kernel/manual-config.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/manual-config.nix b/pkgs/os-specific/linux/kernel/manual-config.nix index 79c8061bb10d..34bcaba3f316 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}";