Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bsdinstall/scripts/zfsboot
Show First 20 Lines • Show All 855 Lines • ▼ Show 20 Lines | then | ||||
efibootpart="/dev/$(echo $justaddedpart | cut -f 1 -d ' ')" | efibootpart="/dev/$(echo $justaddedpart | cut -f 1 -d ' ')" | ||||
f_dprintf "$funcname: configuring ESP at [%s]" \ | f_dprintf "$funcname: configuring ESP at [%s]" \ | ||||
"${efibootpart}" | "${efibootpart}" | ||||
f_eval_catch $funcname newfs_msdos "$NEWFS_ESP"\ | f_eval_catch $funcname newfs_msdos "$NEWFS_ESP"\ | ||||
"$efibootpart" \ | "$efibootpart" \ | ||||
|| return $FAILURE | || return $FAILURE | ||||
f_eval_catch $funcname printf "$PRINTF_FSTAB" \ | f_eval_catch $funcname printf "$PRINTF_FSTAB" \ | ||||
$efibootpart /boot/efi msdosfs \ | $efibootpart /efi msdosfs \ | ||||
rw 2 2 "$BSDINSTALL_TMPETC/fstab" \ | rw 2 2 "$BSDINSTALL_TMPETC/fstab" \ | ||||
|| return $FAILURE | || return $FAILURE | ||||
fi | fi | ||||
fi | fi | ||||
if [ "$ZFSBOOT_BOOT_TYPE" = "BIOS" -o \ | if [ "$ZFSBOOT_BOOT_TYPE" = "BIOS" -o \ | ||||
"$ZFSBOOT_BOOT_TYPE" = "BIOS+UEFI" ] | "$ZFSBOOT_BOOT_TYPE" = "BIOS+UEFI" ] | ||||
then | then | ||||
▲ Show 20 Lines • Show All 912 Lines • Show Last 20 Lines |