Fix relative/chroot path

This commit is contained in:
maride 2017-09-03 01:37:21 +02:00
parent af9eda2a85
commit c52b6171ea

View File

@ -21,7 +21,7 @@ echo "~> Configuring 'grub' for $bootloader"
if [ "$bootloader" == "EFI" ]; then if [ "$bootloader" == "EFI" ]; then
arch-chroot /mnt grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=BOOT arch-chroot /mnt grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=BOOT
# thanks to Virtualbox, this step is necessary # thanks to Virtualbox, this step is necessary
cp /boot/EFI/BOOT/{grubx64.efi,BOOTX64.EFI} cp /mnt/boot/EFI/BOOT/{grubx64.efi,BOOTX64.EFI}
else else
arch-chroot /mnt grub-install --target=i386-pc /dev/*da arch-chroot /mnt grub-install --target=i386-pc /dev/*da
fi fi