mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
Fixed zImage installation when building Linux.
When building kernels outputting a zImage, the zImage wasn't correctly copied in to the installation. This broke the build process entirely, at least on my ARM machine.
This commit is contained in:
parent
32bd963427
commit
98d77cd1a5
@ -116,7 +116,9 @@ let
|
||||
++ optional installsFirmware "INSTALL_FW_PATH=$(out)/lib/firmware";
|
||||
|
||||
# Some image types need special install targets (e.g. uImage is installed with make uinstall)
|
||||
installTargets = [ (if platform.kernelTarget == "uImage" then "uinstall" else "install") ];
|
||||
installTargets = [ (if platform.kernelTarget == "uImage" then "uinstall" else
|
||||
if platform.kernelTarget == "zImage" then "zinstall" else
|
||||
"install") ];
|
||||
|
||||
postInstall = (optionalString installsFirmware ''
|
||||
mkdir -p $out/lib/firmware
|
||||
|
Loading…
Reference in New Issue
Block a user