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
This commit is contained in:
marian.chelmus 2021-11-17 20:59:37 +02:00 committed by Marian Chelmus
parent 237d443649
commit f196ca44c7

View File

@ -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`"