[build] Fix default target in sdsk image

gensdsk currently creates a syslinux.cfg file that is invalid if the
filename ends in lkrn.  Fix by setting the default target to label($b)
instead of filename($g).

Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
bit
2018-08-19 16:30:43 +02:00
committed by Michael Brown
parent 366206517e
commit 4277942ac0

View File

@@ -48,7 +48,7 @@ do
g=${g:0:8}.krn
case "$first" in
"")
echo DEFAULT $g
echo DEFAULT $b
;;
esac
first=$g