diff options
| author | bit | 2018-08-19 16:30:43 +0200 |
|---|---|---|
| committer | Michael Brown | 2020-07-21 15:29:12 +0200 |
| commit | 4277942ac05c648b4143e29639380c6141a099c9 (patch) | |
| tree | 7f223d65ea68e4e938d0bfcb0e21c9a3d296d389 /src/util | |
| parent | [dns] Use all configured DNS servers (diff) | |
| download | ipxe-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-x | src/util/gensdsk | 2 |
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 |
