From: Ben Wolsieffer Date: Thu, 28 Nov 2019 05:07:08 +0000 (-0500) Subject: cmd: pxe: Increase maximum path length X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=2c4e067d493d031d1267eea1c635d1eab93ce8f7;p=u-boot.git cmd: pxe: Increase maximum path length On NixOS, cross compiled kernels have long suffixes that cause them to exceed the current maximum path length. The PXE/TFTP max path length is used for extlinux.conf support as well, which is where this problem usually manifest's itself. Signed-off-by: Ben Wolsieffer Acked-by: Joe Hershberger --- diff --git a/cmd/pxe_utils.c b/cmd/pxe_utils.c index 42b584ead3..a636346bb5 100644 --- a/cmd/pxe_utils.c +++ b/cmd/pxe_utils.c @@ -22,7 +22,7 @@ #include "pxe_utils.h" -#define MAX_TFTP_PATH_LEN 127 +#define MAX_TFTP_PATH_LEN 512 bool is_pxe;