]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix an error in bsdinstall when ZFS installation uses a bootpool
authorallanjude <allanjude@FreeBSD.org>
Sun, 3 Jul 2016 01:22:59 +0000 (01:22 +0000)
committerallanjude <allanjude@FreeBSD.org>
Sun, 3 Jul 2016 01:22:59 +0000 (01:22 +0000)
commitb9500c49c647efdf71e0f67a26fca38159b9075d
tree609ea2e5c7efbfd26e43b5d1ca690bbe6b14b708
parentfb6d45592675d408f0eacb16da95a938d5e64cee
Fix an error in bsdinstall when ZFS installation uses a bootpool

A separate bootpool is used when the selected partition type is MBR
or when the disk is GELI encrypted and a UEFI loader is selected.

BIOS avoids the bootpool by using bootcode and loader that support GELI.

bsdinstall did not remount the bootpool after creating the main pool,
which caused an error when mkdir tried to create /boot/zfs

PR: 210717
Approved by: re (gjb)
Sponsored by: ScaleEngine Inc.
usr.sbin/bsdinstall/scripts/zfsboot