Skip to content

ci(qemu): rm_work + aggressive disk reclaim to fit GHA's 30 GB#8

Merged
EmbeddedAndroid merged 1 commit into
mainfrom
rm-work-and-disk-slim
May 15, 2026
Merged

ci(qemu): rm_work + aggressive disk reclaim to fit GHA's 30 GB#8
EmbeddedAndroid merged 1 commit into
mainfrom
rm-work-and-disk-slim

Conversation

@EmbeddedAndroid

Copy link
Copy Markdown
Owner

First qemu-runtime dispatch ran 4.5 hours then died at vscode's do_unpack with tar exit 2 — almost certainly out-of-disk on the GHA hosted runner (full Weston image sstate + workdir + the 200 MB VSCode tarball expansion blew past the 30 GB cap).

Two fixes:

  • INHERIT += rm_work in local.conf so every recipe's workdir gets scrubbed right after do_package, reclaiming 5-15 GB over the build.
  • Beefier Free-disk-space step at the start: also drops /usr/local/.ghcup + the rest of /opt/hostedtoolcache/* + docker's preloaded images. Adds another ~10-15 GB headroom upfront.

First end-to-end qemu-runtime dispatch ran 4.5 hours then died at
vscode's do_unpack with tar exit 2. The build itself was working;
the 200 MB VSCode tarball + its uncompressed expansion was the
straw that broke the 30 GB disk camel.

Two fixes:
- INHERIT += rm_work so every recipe's workdir gets scrubbed
  right after do_package, reclaiming 5-15 GB over the build.
- More aggressive Free-disk-space step: also nuke /usr/local/.ghcup
  + the rest of /opt/hostedtoolcache/* + docker's preloaded images.
  Adds ~10-15 GB headroom upfront.
@EmbeddedAndroid EmbeddedAndroid merged commit 3f2c4b5 into main May 15, 2026
@EmbeddedAndroid EmbeddedAndroid deleted the rm-work-and-disk-slim branch May 15, 2026 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant