Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bsdinstall/scripts/bootconfig
| Show First 20 Lines • Show All 157 Lines • ▼ Show 20 Lines | for dev in $(cat $esps); do | ||||
| uefi_copy_loader "$BSDINSTALL_CHROOT/boot/${file}" \ | uefi_copy_loader "$BSDINSTALL_CHROOT/boot/${file}" \ | ||||
| "${mntpt}/efi/freebsd" "${mntpt}/efi/boot" \ | "${mntpt}/efi/freebsd" "${mntpt}/efi/boot" \ | ||||
| boot${ARCHBOOTNAME}.efi | boot${ARCHBOOTNAME}.efi | ||||
| umount "$mntpt" | umount "$mntpt" | ||||
| done | done | ||||
| rmdir "${mntpt}" | rmdir "${mntpt}" | ||||
| fi | fi | ||||
| # Try to set the UEFI NV BootXXXX variables to recod the boot location | # Try to set the UEFI NV BootXXXX variables to record the boot location | ||||
| if [ "$BSDINSTALL_CONFIGCURRENT" ] && [ "$ARCHBOOTNAME" != ia32 ]; then | if [ "$BSDINSTALL_CONFIGCURRENT" ] && [ "$ARCHBOOTNAME" != ia32 ]; then | ||||
| update_uefi_bootentry | update_uefi_bootentry | ||||
| fi | fi | ||||
| f_dprintf "Finished configuring ESP" | f_dprintf "Finished configuring ESP" | ||||
| fi | fi | ||||
| # Add boot0cfg for MBR BIOS booting? | # Add boot0cfg for MBR BIOS booting? | ||||