Now that all the file renaming etc has been moved into build, this
needs to emulate the bootinst.batpull/84/head
parent
2431f29c4c
commit
56c60fbae3
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue