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>
This commit is contained in:
Ben Wolsieffer
2019-11-28 00:07:08 -05:00
committed by Joe Hershberger
parent c627abe0de
commit 2c4e067d49

View File

@@ -22,7 +22,7 @@
#include "pxe_utils.h"
#define MAX_TFTP_PATH_LEN 127
#define MAX_TFTP_PATH_LEN 512
bool is_pxe;