No need to make_dev() existing root device in disk crypto question
authorkn <kn@openbsd.org>
Mon, 21 Aug 2023 14:33:55 +0000 (14:33 +0000)
committerkn <kn@openbsd.org>
Mon, 21 Aug 2023 14:33:55 +0000 (14:33 +0000)
commit2989f6b14c3af92d2e5e9204eed8771f08917543
treea010bd30f76e43e0bb0480e67c648e87f1158341
parent7f6a374098efb8bf49e8b02f03732fe0e10db0b3
No need to make_dev() existing root device in disk crypto question

Since r1.1245 encrypt_root() happens immediately after get_rootinfo().
the latter creates device files for the root disk (and aborts if make_dev()
fails), so encrypt_root()'s call on the softraid chunk is purely redundant.

Hoist _chunk definition into declaration while here.
distrib/miniroot/install.sub