ipxe: do not call syslinux on aarch64
This commit is contained in:
parent
cf099ebfba
commit
25e4e7af03
@ -40,6 +40,10 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "SrTNEYk13JXAcJuogm9fZ7CrzJIDRc0aziGdjRNv96I=";
|
sha256 = "SrTNEYk13JXAcJuogm9fZ7CrzJIDRc0aziGdjRNv96I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = lib.optionalString stdenv.hostPlatform.isAarch64 ''
|
||||||
|
substituteInPlace src/util/genfsimg --replace " syslinux " " true "
|
||||||
|
''; # calling syslinux on a FAT image isn't going to work
|
||||||
|
|
||||||
# not possible due to assembler code
|
# not possible due to assembler code
|
||||||
hardeningDisable = [ "pic" "stackprotector" ];
|
hardeningDisable = [ "pic" "stackprotector" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user