Now that all the file renaming etc has been moved into build, this

needs to emulate the bootinst.bat
pull/84/head
root 2019-09-28 20:02:53 +00:00
parent 2431f29c4c
commit 56c60fbae3
1 changed files with 3 additions and 7 deletions

View File

@ -40,13 +40,9 @@ if [ "$DEV" != "$PART" ]; then
) | fdisk $DEV >/dev/null 2>&1 ) | fdisk $DEV >/dev/null 2>&1
fi fi
# Now to be able to boot from most of UEFI devices # UEFI boot loader
EFIDIR="$BOOT/EFI/boot" mkdir -p "EFI/Boot"
mkdir -p "$EFIDIR" cp "boot/EFI/Boot/*" "EFI/Boot"
cp efi-files/* "$EFIDIR"
# I didn't rename the binary in place so it could be updated more easily
mv "$EFIDIR/syslinux.efi" "$EFIDIR/bootx64.efi"
echo "Boot installation finished." echo "Boot installation finished."
cd "$CWD" cd "$CWD"