Browse Source

mklive: install GRUB EFI loader as EFI/BOOT/BOOTX64.EFI.

There are some EFI firmwares that expect the loader to be in that
location and being uppercase, so that there more chances to make this
boot on more systems.
Juan RP 10 years ago
parent
commit
e514350f88
1 changed files with 2 additions and 2 deletions
  1. 2 2
      mklive.sh.in

+ 2 - 2
mklive.sh.in

@@ -218,8 +218,8 @@ generate_grub_efi_boot() {
         losetup --detach "${LOOP_DEVICE}"
         losetup --detach "${LOOP_DEVICE}"
         die "Failed to generate EFI loader"
         die "Failed to generate EFI loader"
     fi
     fi
-    mkdir -p ${GRUB_EFI_TMPDIR}/EFI/boot
-    cp -f $VOIDHOSTDIR/tmp/bootx64.efi ${GRUB_EFI_TMPDIR}/EFI/boot/
+    mkdir -p ${GRUB_EFI_TMPDIR}/EFI/BOOT
+    cp -f $VOIDHOSTDIR/tmp/bootx64.efi ${GRUB_EFI_TMPDIR}/EFI/BOOT/BOOTX64.EFI
     umount "$GRUB_EFI_TMPDIR"
     umount "$GRUB_EFI_TMPDIR"
     losetup --detach "${LOOP_DEVICE}"
     losetup --detach "${LOOP_DEVICE}"
     rm -rf $GRUB_EFI_TMPDIR
     rm -rf $GRUB_EFI_TMPDIR