linux/kernel/manual-config: The default 'make install' tries to do something with LILO, so install the kernel manually

This commit is contained in:
Shea Levy 2012-07-29 01:57:59 -04:00
parent dfa750732d
commit aa40e0ff59

View file

@ -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}";