]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
pxe: fix handling of absolute paths
authorRob Herring <rob.herring@calxeda.com>
Fri, 18 Oct 2013 18:04:42 +0000 (13:04 -0500)
committerTom Rini <trini@ti.com>
Mon, 4 Nov 2013 16:24:22 +0000 (11:24 -0500)
commite5a9a4076f1fb9fb9ce53c2aec32422073bbc66a
tree6ca5540adfae4503242ece100b3cd9eed65fb26f
parent5b6da28352f4ae64d78a12e608133c1b876b992c
pxe: fix handling of absolute paths

pxelinux and syslinux differ in their handling of absolute paths in menu
files. A pxelinux path is aways prepended with the bootfile path while
syslinux allows for absolute paths. u-boot was always treating a leading
/ as an absolute path breaking some pxelinux setups. Fix this by adding
a flag to distinguish pxelinux vs. syslinux behavior.

Reported-by: Ian Campbell <Ian.Campbell@citrix.com>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
common/cmd_pxe.c