From 10799b57c447d50bb5044473edc5a59cf117c0ff Mon Sep 17 00:00:00 2001 From: William Johansson Date: Mon, 11 Jun 2018 21:14:06 +0200 Subject: scripts: Fix kernel name in Xen BIOS boot Apply missing changes from f92a41f7329b5e337476e1cf978b198a2592ffc9 Also remove unused variable --- scripts/mkimg.base.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/mkimg.base.sh b/scripts/mkimg.base.sh index 1949f481ab..256c668e34 100755 --- a/scripts/mkimg.base.sh +++ b/scripts/mkimg.base.sh @@ -92,7 +92,7 @@ syslinux_gen_config() { echo "PROMPT ${syslinux_prompt:-1}" echo "DEFAULT ${kernel_flavors%% *}" - local _f _kf + local _f for _f in $kernel_flavors; do if [ -z "${xen_params+set}" ]; then cat <<- EOF @@ -110,14 +110,14 @@ syslinux_gen_config() { LABEL $_f MENU LABEL Xen/Linux $_f KERNEL /boot/syslinux/mboot.c32 - APPEND /boot/xen.gz ${xen_params} --- /boot/vmlinuz$_kf $initfs_cmdline $kernel_cmdline --- /boot/initramfs-$_f + APPEND /boot/xen.gz ${xen_params} --- /boot/vmlinuz-$_f $initfs_cmdline $kernel_cmdline --- /boot/initramfs-$_f EOF fi done } grub_gen_config() { - local _f _kf + local _f echo "set timeout=2" for _f in $kernel_flavors; do if [ -z "${xen_params+set}" ]; then -- cgit v1.2.3