[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>
pull/124/head
bit 2018-08-19 16:30:43 +02:00 committed by Michael Brown
parent 366206517e
commit 4277942ac0
1 changed files with 1 additions and 1 deletions

View File

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