summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorbit2018-08-19 16:30:43 +0200
committerMichael Brown2020-07-21 15:29:12 +0200
commit4277942ac05c648b4143e29639380c6141a099c9 (patch)
tree7f223d65ea68e4e938d0bfcb0e21c9a3d296d389 /src/util
parent[dns] Use all configured DNS servers (diff)
downloadipxe-4277942ac05c648b4143e29639380c6141a099c9.tar.gz
ipxe-4277942ac05c648b4143e29639380c6141a099c9.tar.xz
ipxe-4277942ac05c648b4143e29639380c6141a099c9.zip
[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>
Diffstat (limited to 'src/util')
-rwxr-xr-xsrc/util/gensdsk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/gensdsk b/src/util/gensdsk
index 9e8361d49..fe302d587 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