fix(build): correct the disk-cleanup paths to real build artifacts

The one-liner's `output/FreeBSD-*.img` matched nothing — OUTPUT_DIR is
tmp/output, the built image is clawdie-*.img, and the cached memstick lives in
tmp/cache (FreeBSD-*-memstick.img). Replace with `tmp/packages tmp/cache
tmp/output` — clears bundled packages, all caches (incl. work.img + the cached
memstick), and built outputs; all regenerable, all under repo-local tmp/.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Sam & Claude 2026-06-21 12:24:51 +02:00
parent 2d2a757646
commit 86b218ac6c

View file

@ -624,7 +624,7 @@ closure that supports current operator tooling and validation lanes:
In practice: if you need gigabytes quickly, clear build caches first:
sudo rm -rf tmp/packages tmp/cache/work.img output/FreeBSD-*.img
sudo rm -rf tmp/packages tmp/cache tmp/output
These caches typically reclaim 3-8 GB. If host pkg pressure becomes chronic,
that is a signal to move more build/package work onto