From 2c4e067d493d031d1267eea1c635d1eab93ce8f7 Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Thu, 28 Nov 2019 00:07:08 -0500 Subject: 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 --- cmd/pxe_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/pxe_utils.c') 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; -- cgit v1.2.3