Trim ATM closure to recover eMMC headroom #55
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The 25.11-built
disk-image-sintrais 7.3GB actual / 11GB sparse. On a 15GB eMMC, that leaves only ~4GB free after flashing. The next cross-release upgrade (eventually 26.05) will hit the same disk-full wall we just hit on 24.05 → 24.11.GC tightening (commit 1847ab8: weekly → daily 03:30 + persistent) helps for in-release upgrades. It does NOT help cross-release — old gen must stay until new gen activates, and there's just not enough room.
The cleanest fix is to make the closure itself smaller so an extra cross-release upgrade fits in headroom without reflash.
Targets (ordered by size impact)
linux-firmware-zstd(monolithic)hardware.enableRedistributableFirmware = trueis even necessary on UP Board (Cherry Trail iGPU firmware ships in linux-firmware-intel which is separate).environment.systemPackagesindeploy/nixos/configuration.nix:101-131nix shell nixpkgs#<tool>when debugging. Keep sqlite (used by atm-transactions.sh).Realistic ceiling: 1.5-2GB trim with low-risk changes (firmware + systemPackages).
Out of scope
Acceptance
nix build .#disk-image-sintraproduces an image wherels -lh result/nixos.imgreports actual size ≤ 6GB.nix shellpattern for tools we drop).Context
No space left on device; we pivoted to a fresh dd-from-image flash, but the next bump faces the same wall.