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.
Screens below:
┌──────────────────Partition Editor────────────────────┐ │ Create partitions for FreeBSD. No changes will be │ │ made unti┌────────Edit Partition──────────┐ │ │┌─────────│ ┌─────────Warning────────────┐ │ ───────┐│ ││vtbd0 │ │ This file system │ ││ ││ vtbd0p1│ │ (freebsd-hfs) is not │ ││ ││ vtbd0p2│ │ bootable on this system. │ ││ ││ vtbd0p3│ │ Are you sure you want to │ ││ ││md0 │ │ proceed? │ ││ ││ │ ├────────────────────────────┤ ││ ││ ├─│ < Yes > < No > │ ││ ││ │ └────────────────────────────┘ ││ │└─────────└─── ───────┘│ ├──────────── ────────┤ │<Create> <Delete> <Modify> <Revert> < Auto > <Finish> │ └──────────────────────────────────────────────────────┘