From af17516372b45cd9a3dbaa96c285bdefd3dcf09a Mon Sep 17 00:00:00 2001 From: Kristian Amlie Date: Thu, 5 Dec 2019 14:47:29 +0100 Subject: [PATCH] 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 --- mender-convert-package | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mender-convert-package b/mender-convert-package index cf48049..05ece85 100755 --- a/mender-convert-package +++ b/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 \