From f196ca44c7e17baa37b1817c976019aa74453c84 Mon Sep 17 00:00:00 2001 From: "marian.chelmus" Date: Wed, 17 Nov 2021 20:59:37 +0200 Subject: [PATCH] Fix amphora image size display in diskimage-create.sh script The size of the amphora image was not shown at the end of the diskimage-screate.sh script due to missing file extenstion. The extension is set based on the AMP_IMAGETYPE variable. story: 2009688 Change-Id: I1cbced187c054391039933d2ba5abeaf93d80754 --- diskimage-create/diskimage-create.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diskimage-create/diskimage-create.sh b/diskimage-create/diskimage-create.sh index 54a2a9a07a..073bb4d8f3 100755 --- a/diskimage-create/diskimage-create.sh +++ b/diskimage-create/diskimage-create.sh @@ -508,4 +508,4 @@ if [ -z "$DIB_REPOREF_amphora_agent" ]; then else echo "Successfully built the amphora using the $DIB_REPOREF_amphora_agent amphora-agent." fi -echo "Amphora image size: `stat -c "%n %s" $AMP_OUTPUTFILENAME`" +echo "Amphora image size: `stat -c "%n %s" $AMP_OUTPUTFILENAME.$AMP_IMAGETYPE`"