Browse Source

Some cosmetic changes in the partition size logging.

Make it clear that these are partition sizes, not filesystem sizes
(mainly important for the rootfs), and fix the ambiguous placement of
"x 2" (the existing placement made it look like there were 3892
partitions of 2 MiB each).

Changelog: None

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
2.0.x
Kristian Amlie 5 years ago
parent
commit
af17516372
No known key found for this signature in database GPG Key ID: F464407C996AF03F
  1. 6
      mender-convert-package

6
mender-convert-package

@ -197,9 +197,9 @@ log_info "Creating Mender compatible disk-image"
sdimg_path=deploy/${image_name}.sdimg
log_info "Total disk size: $(disk_sectors_to_mb ${disk_image_total_sectors}) MiB"
log_info " Boot partition $(disk_sectors_to_mb ${boot_part_sectors}) MiB"
log_info " RootFS $(disk_sectors_to_mb ${rootfs_part_sectors}) x 2 MiB"
log_info " Data $(disk_sectors_to_mb ${data_part_sectors}) MiB"
log_info " Boot partition $(disk_sectors_to_mb ${boot_part_sectors}) MiB"
log_info " RootFS partitions $(disk_sectors_to_mb ${rootfs_part_sectors}) MiB x 2"
log_info " Data partition $(disk_sectors_to_mb ${data_part_sectors}) MiB"
# Initialize sdcard image file
run_and_log_cmd \

Loading…
Cancel
Save