From 6f0ca716468f344f8a0452b091c20c0d67574bc7 Mon Sep 17 00:00:00 2001 From: openoms Date: Sat, 18 Jan 2025 18:32:20 +0100 Subject: [PATCH] increase image_size to 30Gb for amd64 fatpack --- .github/workflows/amd64-fatpack-image.yml | 4 ++-- ci/amd64/debian/build.amd64-debian.pkr.hcl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/amd64-fatpack-image.yml b/.github/workflows/amd64-fatpack-image.yml index 59b32b551..856ce1a53 100644 --- a/.github/workflows/amd64-fatpack-image.yml +++ b/.github/workflows/amd64-fatpack-image.yml @@ -76,9 +76,9 @@ jobs: - name: Run the build script run: | - echo "Using the variables: --pack fatpack --github_user ${{steps.set_values.outputs.GITHUB_USER}} --branch ${{env.BRANCH_NAME}} --preseed_file preseed.cfg --boot uefi --desktop none" + echo "Using the variables: --pack fatpack --github_user ${{steps.set_values.outputs.GITHUB_USER}} --branch ${{env.BRANCH_NAME}} --preseed_file preseed.cfg --boot uefi --desktop none --image_size 30000" cd ci/amd64 - bash packer.build.amd64-debian.sh --pack fatpack --github_user ${{steps.set_values.outputs.GITHUB_USER}} --branch ${{env.BRANCH_NAME}} --preseed_file preseed.cfg --boot uefi --desktop none + bash packer.build.amd64-debian.sh --pack fatpack --github_user ${{steps.set_values.outputs.GITHUB_USER}} --branch ${{env.BRANCH_NAME}} --preseed_file preseed.cfg --boot uefi --desktop none --image_size 30000 - name: Compute checksum of the raw image run: | diff --git a/ci/amd64/debian/build.amd64-debian.pkr.hcl b/ci/amd64/debian/build.amd64-debian.pkr.hcl index 253f0d259..b33130b05 100644 --- a/ci/amd64/debian/build.amd64-debian.pkr.hcl +++ b/ci/amd64/debian/build.amd64-debian.pkr.hcl @@ -10,7 +10,7 @@ variable "boot" { default = "uefi" } variable "preseed_file" { default = "preseed.cfg" } variable "hostname" { default = "raspiblitz-amd64" } -variable "disk_size" { default = "27000" } +variable "image_size" { default = "27000" } variable "memory" { default = "4096" } variable "cpus" { default = "4" } @@ -51,7 +51,7 @@ source "qemu" "debian" { boot_command = local.boot_command boot_wait = "5s" cpus = var.cpus - disk_size = var.disk_size + disk_size = var.image_size http_directory = "./http" iso_checksum = var.iso_checksum iso_url = "https://cdimage.debian.org/cdimage/release/current/amd64/iso-cd/${var.iso_name}"