Repository navigation
Commit 010c242
committed
fix(installer-factory): say when the output disk is full
grub-mkrescue on a full disk ends in
xorriso : FAILURE : Image size 228248s exceeds free space on media
130750s
which reads like something about the ISO, and names neither the disk nor
the directory it ran out on. /output is a bind mount of the caller's
output/, so it is their machine that is full - ~255 MB free for a
~470 MB ISO, in the run this comes from.
The ISO directory is measured against df on /output before the ISO is
built, with a tenth of it as headroom for what grub adds. Not run: this
needs a factory image, like the other changes here.
Signed-off-by: Simon Walz <contact@simonwalz.de>1 parent 42875ed commit 010c242
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
62 | 75 | | |
63 | 76 | | |
64 | 77 | | |
| |||
0 commit comments