From bf2ddc1e1dcd9b1067b24230768d3be7b46d3895 Mon Sep 17 00:00:00 2001 From: udeved Date: Sun, 2 Apr 2017 17:56:23 +0200 Subject: [PATCH] util-iso-boot: fix param --- lib/util-iso-boot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util-iso-boot.sh b/lib/util-iso-boot.sh index b045b0a..a307d6e 100644 --- a/lib/util-iso-boot.sh +++ b/lib/util-iso-boot.sh @@ -84,7 +84,7 @@ prepare_grub(){ cp ${data}/unicode.pf2 ${grub} cp -r ${theme}/{locales,tz} ${grub} - local size=4M mnt="${mnt_dir}/efiboot" efi_img="$2/efi.img" + local size=4M mnt="${mnt_dir}/efiboot" efi_img="$3/efi.img" msg2 "Creating fat image of %s ..." "${size}" truncate -s ${size} "${efi_img}" mkfs.fat -n MISO_EFI "${efi_img}" &>/dev/null