From 7c4a94d763183ffaef51fe6ae4f5197da508e026 Mon Sep 17 00:00:00 2001 From: veilor-org Date: Thu, 30 Apr 2026 17:55:08 +0100 Subject: [PATCH] ci: tmpdir on /var (host ext4, 80GB+) instead of /tmp tmpfs (16GB cap) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit POSTTRANS ldconfig hit ENOSPC/ROFS — KDE install + dnf cache + scriptlet working set exceeds 16G tmpfs. Move livecd-creator tmpdir to /var/lmc on runner's host ext4 disk. --- .github/workflows/build-iso.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-iso.yml b/.github/workflows/build-iso.yml index a75630a..06b0b46 100644 --- a/.github/workflows/build-iso.yml +++ b/.github/workflows/build-iso.yml @@ -43,7 +43,7 @@ jobs: --privileged -v ${{ github.workspace }}:/work -v /dev:/dev - --tmpfs /tmp:rw,nosuid,nodev,exec,size=8G + --tmpfs /tmp:rw,nosuid,nodev,exec,size=16G run: | set -euxo pipefail @@ -79,6 +79,9 @@ jobs: # livecd-creator (livecd-tools) — purpose-built for live ISOs. # Handles EFI/BOOT + isohybrid + grafting that livemedia-creator # --make-iso --no-virt does not. Produces UEFI+BIOS bootable ISO. + # --tmpdir /var/lmc to avoid GitHub Actions /tmp tmpfs constraints. + # /var on the runner is the host's ext4 (~80GB free post-disk-cleanup). + mkdir -p /var/lmc /var/lmc-cache livecd-creator \ --verbose \ --config kickstart/veilor-os-ci.ks \ @@ -86,8 +89,8 @@ jobs: --title "veilor-os" \ --product "veilor-os" \ --releasever "${{ github.event.inputs.releasever || '43' }}" \ - --tmpdir /tmp \ - --cache /tmp/veilor-cache 2>&1 | tee build/out/build.log + --tmpdir /var/lmc \ + --cache /var/lmc-cache 2>&1 | tee build/out/build.log # Move output ISO to expected dir mv ./veilor-os-43.iso build/out/ 2>/dev/null || mv ./*.iso build/out/ 2>/dev/null || true