summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/contrib/mkefidisk.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/contrib/mkefidisk.sh b/scripts/contrib/mkefidisk.sh
index 9b130416a1..98c43f5d87 100755
--- a/scripts/contrib/mkefidisk.sh
+++ b/scripts/contrib/mkefidisk.sh
@@ -264,11 +264,9 @@ umount $HDDIMG_ROOTFS_MNT
264 264
265echo "Preparing boot partition..." 265echo "Preparing boot partition..."
266EFIDIR="$BOOTFS_MNT/EFI/BOOT" 266EFIDIR="$BOOTFS_MNT/EFI/BOOT"
267mkdir -p $EFIDIR
268
269cp $HDDIMG_MNT/vmlinuz $BOOTFS_MNT 267cp $HDDIMG_MNT/vmlinuz $BOOTFS_MNT
270# Copy the efi loader and configs (booti*.efi and grub.cfg if it exists) 268# Copy the efi loader and configs (booti*.efi and grub.cfg if it exists)
271cp $HDDIMG_MNT/EFI/BOOT/* $EFIDIR 269cp -r $HDDIMG_MNT/EFI $BOOTFS_MNT
272# Silently ignore a missing gummiboot loader dir (we might just be a GRUB image) 270# Silently ignore a missing gummiboot loader dir (we might just be a GRUB image)
273cp -r $HDDIMG_MNT/loader $BOOTFS_MNT 2> /dev/null 271cp -r $HDDIMG_MNT/loader $BOOTFS_MNT 2> /dev/null
274 272