]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bsdinstall: riscv-specific tweaks
authorMitchell Horne <mhorne@FreeBSD.org>
Fri, 15 Jan 2021 16:34:54 +0000 (12:34 -0400)
committerMitchell Horne <mhorne@FreeBSD.org>
Mon, 1 Feb 2021 14:54:09 +0000 (10:54 -0400)
commitc415d0df47fc4b144c029263fac47ad4df81a803
treef58515524a4ffcfa514232d9ac88a45cd2b939aa
parent14640ac7897b79d49e97e5c571f05ae563f4a8e2
bsdinstall: riscv-specific tweaks

Make the installer more useful, by allowing it to create a bootable
installation. Also, enable the menu option for ZFS-on-root.

Like arm64, RISC-V boots by UEFI only, so arm64's partedit
implementation is renamed and shared among the two platforms.

Reviewed by: gjb

(cherry picked from commit 7b08a307e88bb1abe17d13d11288392a8e4739ce)
usr.sbin/bsdinstall/partedit/Makefile
usr.sbin/bsdinstall/partedit/partedit_efi.c [moved from usr.sbin/bsdinstall/partedit/partedit_arm64.c with 92% similarity]
usr.sbin/bsdinstall/scripts/auto
usr.sbin/bsdinstall/scripts/bootconfig
usr.sbin/bsdinstall/scripts/zfsboot