linux/kernel/manual-config: The default 'make install' tries to do something with LILO, so install the kernel manually
This commit is contained in:
parent
dfa750732d
commit
aa40e0ff59
@ -71,6 +71,16 @@ stdenv.mkDerivation ({
|
|||||||
INSTALL_PATH = "$(out)";
|
INSTALL_PATH = "$(out)";
|
||||||
|
|
||||||
buildNativeInputs = [ perl nettools ];
|
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 {
|
} // optionalAttrs features.modular {
|
||||||
MODLIB = "$(out)/lib/modules/${modDirVersion}";
|
MODLIB = "$(out)/lib/modules/${modDirVersion}";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user