mirror of
https://github.com/ipxe/ipxe
synced 2025-12-16 17:41:18 +03:00
[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:
@@ -48,7 +48,7 @@ do
|
|||||||
g=${g:0:8}.krn
|
g=${g:0:8}.krn
|
||||||
case "$first" in
|
case "$first" in
|
||||||
"")
|
"")
|
||||||
echo DEFAULT $g
|
echo DEFAULT $b
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
first=$g
|
first=$g
|
||||||
|
|||||||
Reference in New Issue
Block a user