From 4277942ac05c648b4143e29639380c6141a099c9 Mon Sep 17 00:00:00 2001 From: bit Date: Sun, 19 Aug 2018 16:30:43 +0200 Subject: [PATCH] [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 --- src/util/gensdsk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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