From: bit Date: Sun, 19 Aug 2018 14:30:43 +0000 (+0200) Subject: [build] Fix default target in sdsk image X-Git-Tag: v1.21.1~121 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4277942ac05c648b4143e29639380c6141a099c9;p=thirdparty%2Fipxe.git [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 Signed-off-by: Michael Brown --- 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