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.

authored by Jookia and committed by Shea Levy 98d77cd1 32bd9634

+3 -1
+3 -1
pkgs/os-specific/linux/kernel/manual-config.nix
··· 116 116 ++ optional installsFirmware "INSTALL_FW_PATH=$(out)/lib/firmware"; 117 117 118 118 # Some image types need special install targets (e.g. uImage is installed with make uinstall) 119 - installTargets = [ (if platform.kernelTarget == "uImage" then "uinstall" else "install") ]; 119 + installTargets = [ (if platform.kernelTarget == "uImage" then "uinstall" else 120 + if platform.kernelTarget == "zImage" then "zinstall" else 121 + "install") ]; 120 122 121 123 postInstall = (optionalString installsFirmware '' 122 124 mkdir -p $out/lib/firmware