nrelease: Add 'IMGSIZE_MB' to specify file size in units of MB
authorAaron LI <aly@aaronly.me>
Fri, 24 Feb 2023 01:16:29 +0000 (09:16 +0800)
committerAaron LI <aly@aaronly.me>
Mon, 27 Feb 2023 13:00:49 +0000 (21:00 +0800)
commitf842eed87ac8ac3480c1c25e3caccf434a7f8670
treef6f937a0295a7ee99f03170ef36c657c3e018364
parent5f636da8432a2b713b9e00c3bc4c89797dbdd752
nrelease: Add 'IMGSIZE_MB' to specify file size in units of MB

The image file size was specified by the 'IMGSIZE' variable, but it's
the number of 512-byte sectors, which isn't intuitive and requires a
manual conversion.  Add the 'IMGSIZE_MB' variable to directly specify
the file size in units of MB, which is more intuitive and friendly.
nrelease/Makefile
share/man/man7/release.7