From e3345f1337afc21ee6a19fff29fa095e3f032968 Mon Sep 17 00:00:00 2001 From: udeved Date: Sun, 26 Mar 2017 10:28:56 +0200 Subject: [PATCH] util-iso-boot: fix efiboot mount path --- 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 d8b7dcc..8059542 100644 --- a/lib/util-iso-boot.sh +++ b/lib/util-iso-boot.sh @@ -100,7 +100,7 @@ prepare_grub(){ cp ${data}/unicode.pf2 ${grub} cp -r ${data}/{locales,tz} ${grub} - local size=8M mnt="${mnt_dir}/efiboot" img="$2/efi.img" + local size=8M mnt="${mnt_dir}/efiboot" img="efi.img" msg2 "Creating fat image of %s ..." "${size}" truncate -s ${size} "${img}" mkfs.fat -n MISO_EFI "${img}" &>/dev/null