diff options
author | Ben Wolsieffer <benwolsieffer@gmail.com> | 2019-11-28 00:07:08 -0500 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2019-12-09 09:49:48 -0600 |
commit | 2c4e067d493d031d1267eea1c635d1eab93ce8f7 (patch) | |
tree | 05e58d6af1c5a7b9cb6ec8773155711dffd96e9d /cmd | |
parent | c627abe0de33622a962138b059f4054d3f9f032d (diff) | |
download | u-boot-2c4e067d493d031d1267eea1c635d1eab93ce8f7.tar.gz |
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 <benwolsieffer@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/pxe_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |