Commit 6ef9a11
committed
feat(image): SA-independent slim stage (reclaim stale qcow2 clusters, re-push same tag)
The 34G :26 is mostly stale install clusters (macOS uses ~12G, ~8G after sleepimage). Slimming
only needs SSH (sudo+dd work even with the GUI stuck at Setup Assistant) + the MacHDD
discard=unmap,detect-zeroes=unmap: drop sleepimage/caches, zero-fill free space (unmapped in
place), then capture with convert -c (drops the zeroed clusters). New 'slim' stage boots the
tag, slims over SSH, re-pushes the same tag. Decoupled from the SA-blocked desktop stage.1 parent 49749fa commit 6ef9a11
2 files changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
423 | 436 | | |
424 | 437 | | |
425 | 438 | | |
| |||
434 | 447 | | |
435 | 448 | | |
436 | 449 | | |
| 450 | + | |
| 451 | + | |
437 | 452 | | |
438 | 453 | | |
439 | 454 | | |
| |||
0 commit comments