Add a new flag to mkimg (-a num) to specify the active partition for
authorimp <imp@FreeBSD.org>
Tue, 18 Oct 2016 05:43:12 +0000 (05:43 +0000)
committerimp <imp@FreeBSD.org>
Tue, 18 Oct 2016 05:43:12 +0000 (05:43 +0000)
commit5f1361a7ee6f30ec31b8b63993df6b8288d13615
treee413e01f9993c0cd9587cf02e1cf3152b8882e7b
parent52862262bbd76eb45243fcdecd4fbcab4f1c6c19
Add a new flag to mkimg (-a num) to specify the active partition for
those partitioning schemes that have this concept. Implement it as an
override for mbr's setting 0x80 in the flags for the first partition
when we have boot code.

Differential Revision: https://reviews.freebsd.org/D4403
usr.bin/mkimg/mbr.c
usr.bin/mkimg/mkimg.1
usr.bin/mkimg/mkimg.c
usr.bin/mkimg/mkimg.h