Merge: linux: restrict zinstall to aarch and risc-v (#403067)
This commit is contained in:
@@ -412,9 +412,17 @@ lib.makeOverridable (
|
||||
if kernelConf.target == "uImage" && stdenv.hostPlatform.linuxArch == "arm" then
|
||||
"uinstall"
|
||||
else if
|
||||
kernelConf.target == "zImage"
|
||||
|| kernelConf.target == "Image.gz"
|
||||
|| kernelConf.target == "vmlinuz.efi"
|
||||
(
|
||||
kernelConf.target == "zImage"
|
||||
|| kernelConf.target == "Image.gz"
|
||||
|| kernelConf.target == "vmlinuz.efi"
|
||||
)
|
||||
&& builtins.elem stdenv.hostPlatform.linuxArch [
|
||||
"arm"
|
||||
"arm64"
|
||||
"parisc"
|
||||
"riscv"
|
||||
]
|
||||
then
|
||||
"zinstall"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user