aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbit <j@mailb.org>2018-08-19 16:30:43 +0200
committerMichael Brown <mcb30@ipxe.org>2020-07-21 14:29:12 +0100
commit4277942ac05c648b4143e29639380c6141a099c9 (patch)
tree7f223d65ea68e4e938d0bfcb0e21c9a3d296d389
parent366206517e9974dea62d0df313bdd59595c89f52 (diff)
downloadipxe-4277942ac05c648b4143e29639380c6141a099c9.zip
ipxe-4277942ac05c648b4143e29639380c6141a099c9.tar.gz
ipxe-4277942ac05c648b4143e29639380c6141a099c9.tar.bz2
[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>
-rwxr-xr-xsrc/util/gensdsk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/gensdsk b/src/util/gensdsk
index 9e8361d..fe302d5 100755
--- a/src/util/gensdsk
+++ b/src/util/gensdsk
@@ -48,7 +48,7 @@ do
g=${g:0:8}.krn
case "$first" in
"")
- echo DEFAULT $g
+ echo DEFAULT $b
;;
esac
first=$g