aboutsummaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2025-11-07 17:48:30 -0500
committerColin Percival <cperciva@FreeBSD.org>2025-11-12 10:46:12 -0800
commitc5977a934c6ac4f8a6483829486a489aec6aacdd (patch)
treeb9a4c0fdd1ea72b0a89b9b2133b5c8d68db4cb61 /usr.sbin
parentc50312b774e1f26e90d743ad7e02072738923a03 (diff)
bsdinstall: Use fat32 EFI system partition for ZFS
This is consistent with other operating systems and with bsdinstall's UFS config and with bsdinstall's ZFS config prior to commit 0b7472b3d8d2. Approved by: re (cperciva) PR: 290857 Fixes: 0b7472b3d8d2 ("Mount the EFI system partition (ESP) on newly-installed systems.") Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D53642 (cherry picked from commit 4109cdf0f817162cf3032aa589dd180dfa910025) (cherry picked from commit 65e347d315449e8c28dbcb0c5bb64f79d822d024)
Diffstat (limited to 'usr.sbin')
-rwxr-xr-xusr.sbin/bsdinstall/scripts/zfsboot2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdinstall/scripts/zfsboot b/usr.sbin/bsdinstall/scripts/zfsboot
index 95cbba3fa131..8d1fb4148244 100755
--- a/usr.sbin/bsdinstall/scripts/zfsboot
+++ b/usr.sbin/bsdinstall/scripts/zfsboot
@@ -216,7 +216,7 @@ KLDLOAD='kldload %s'
LN_SF='ln -sf "%s" "%s"'
MKDIR_P='mkdir -p "%s"'
MOUNT_TYPE='mount -t %s "%s" "%s"'
-NEWFS_ESP='newfs_msdos "%s"'
+NEWFS_ESP='newfs_msdos -F 32 -c 1 "%s"'
PRINTF_CONF="printf '%s=\"%%s\"\\\n' %s >> \"%s\""
PRINTF_FSTAB='printf "$FSTAB_FMT" "%s" "%s" "%s" "%s" "%s" "%s" >> "%s"'
SHELL_TRUNCATE=':> "%s"'