Make the slice names for root configurable. For embedded platforms, we
authorimp <imp@FreeBSD.org>
Thu, 12 Nov 2015 05:53:32 +0000 (05:53 +0000)
committerimp <imp@FreeBSD.org>
Thu, 12 Nov 2015 05:53:32 +0000 (05:53 +0000)
commit95068e8f37b11b7c9df064136ee3a6df8905c835
tree7ef0cc8a6a4344eb5829601e39a59cbec8f84cb5
parent6b5b3fcdd9085694fa62d93cb794b3955fc01dbb
Make the slice names for root configurable. For embedded platforms, we
need s1 to be a FAT partition, s2 to be the config partition and s3
and s4 to be the ping-pong upgrade partitions.

NANO_SLICE_ROOT defaults to s1
NANO_SLICE_ALTROOT defaults to s2
NANO_SLICE_CFG defaults to s3
NANO_SLICE_DATA defaults to s4

All can be overridden in the config file. Some basic sanity checking
is in place, but is no substitute for being careful.
tools/tools/nanobsd/defaults.sh