From f2cda017dc1374fa5083b4b1ebce9b1d87f9934d Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Tue, 18 Aug 2020 10:07:10 -0700 Subject: [PATCH] Add a message for the amphora image size This patch adds an output from the diskimage-create.sh script that shows the generated image size. This is handy for seeing the impact of a patch on the generated amphora image size. Change-Id: Id18783acefc5ba9acb1789a2fd3d52df603f292a --- diskimage-create/diskimage-create.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/diskimage-create/diskimage-create.sh b/diskimage-create/diskimage-create.sh index 67ece9f7fe..409a0af876 100755 --- a/diskimage-create/diskimage-create.sh +++ b/diskimage-create/diskimage-create.sh @@ -502,3 +502,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`"