LAKITU: Increase test image size by 2G

integration_Dockerd hits the size limit in isolation, without any other
autotests running on the same system, on lakitu-nc. We need a larger
image to run integration_Dockerd on.

I don't think there is a good way to make this behavior lakitu-nc
specific, and I also don't think there is a great reason to make this
lakitu-nc specific. If larger test image sizes cause a problem for
someone, we can revisit this and maybe make it lakitu-nc specific.

BUG=b/404303289
TEST=presubmit
RELEASE_NOTE=None

Change-Id: I8e9307e025f7e798c2e328509fb55bd12ed061ed
Reviewed-on: https://cos-review.googlesource.com/c/third_party/platform/crosutils/+/96499
Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
Reviewed-by: Chenglong Tang <chenglongtang@google.com>
diff --git a/build_library/test_image_util.sh b/build_library/test_image_util.sh
index ed2deb3..24a067d 100755
--- a/build_library/test_image_util.sh
+++ b/build_library/test_image_util.sh
@@ -58,4 +58,9 @@
          ${image_name} --force_developer_mode
     fi
   fi
+
+  # COS: increase size of test image by 2G. The default size is not enough to
+  # run integration_Dockerd on some boards. integration_Dockerd hits the limit
+  # in isolation, without running any other tests on the same system.
+  truncate -s +2G "${BUILD_DIR}/${image_name}"
 }