git: nrelease: Add 'IMGSIZE_MB' to specify file size in units of MB

Aaron LI aly at crater.dragonflybsd.org
Sat Feb 25 03:12:47 PST 2023


commit 8c4418957fc9b61b0db5551d4f204ac1dd7c3599
Author: Aaron LI <aly at aaronly.me>
Date:   Fri Feb 24 09:16:29 2023 +0800

    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.

Summary of changes:
 nrelease/Makefile        | 12 ++++++++----
 share/man/man7/release.7 |  6 +++++-
 2 files changed, 13 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8c4418957fc9b61b0db5551d4f204ac1dd7c3599


-- 
DragonFly BSD source repository


More information about the Commits mailing list