freebsd-nq/usr.sbin/bsdinstall
Wojciech Macek e24e98d090 bsdinstall: add warning when unsupported partition is modified
Right now is possible to modify bootable partition type to
non-bootable type without getting warning from partedit.
Example: if you auto parition drive for arm64, you will
get freebsd-ufs as bootable partition; now you are able
to change bootable partition type to freebsd-zfs; there
will be no warning and the system will install but
will not be bootable afterwards.

After this fix, partedit will issue the same warning it
does when user attempts to create bootable partition of
not supported type, notyfing a user about incoming
problem and allowing to think the decision over before
commiting the schema.

This has been tested on amd64 and arm64.

Obtained from:         Semihalf
Submitted by:          Dominik Ermel <der@semihalf.com>
Sponsored by:          Cavium
Reviewed by:           nwhitehorn
Differential Revision: https://reviews.freebsd.org/D6879
2016-09-05 08:42:36 +00:00
..
distextract Use LIBEXECDIR for /usr/libexec. 2015-11-26 01:14:40 +00:00
distfetch Use LIBEXECDIR for /usr/libexec. 2015-11-26 01:14:40 +00:00
partedit bsdinstall: add warning when unsupported partition is modified 2016-09-05 08:42:36 +00:00
scripts Write kern.randompid to /etc/sysctl.conf 2016-08-09 15:57:37 +00:00
bsdinstall
bsdinstall.8 mdoc: remove EOL whitespace. 2014-12-29 13:50:59 +00:00
Makefile Merge from head 2015-10-01 09:36:43 +00:00
Makefile.depend META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
Makefile.inc Add a bsdinstall package 2015-03-18 12:28:17 +00:00