From 90d3f63033c3f910cf04909fb0f63309a521f153 Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Fri, 23 Feb 2018 21:51:24 -0500 Subject: [PATCH] cmd/pxe.c: 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 --- cmd/pxe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/pxe.c b/cmd/pxe.c index 7043ad11fdd8..2e1799b94bd7 100644 --- a/cmd/pxe.c +++ b/cmd/pxe.c @@ -19,7 +19,7 @@ #include "menu.h" #include "cli.h" -#define MAX_TFTP_PATH_LEN 127 +#define MAX_TFTP_PATH_LEN 512 const char *pxe_default_paths[] = { #ifdef CONFIG_SYS_SOC