max / alloy
1 file changed,
+6 insertions,
-1 deletion
| @@ -138,5 +138,10 @@ | |||
| 138 | 138 | sudo test -f "$ARTIFACT" || die "no ISO produced" | |
| 139 | 139 | say "built: $ARTIFACT ($(sudo du -h "$ARTIFACT" | cut -f1))" | |
| 140 | 140 | echo | |
| 141 | + | # Not build-image.sh: that script writes bib's artifact, $OUTPUT/bootiso, | |
| 142 | + | # which this ISO is the replacement for and does not produce. Pointing at it | |
| 143 | + | # sent a write at a path that is not there. | |
| 141 | 144 | echo " Boot it, or write it with:" | |
| 142 | - | echo " build/build-image.sh --skip-bib --write /dev/sdX" | |
| 145 | + | echo " sudo dd if=$ARTIFACT of=/dev/sdX bs=4M oflag=direct conv=fsync status=progress" | |
| 146 | + | echo " then check it took:" | |
| 147 | + | echo " sudo cmp -n \$(sudo stat -c %s $ARTIFACT) /dev/sdX $ARTIFACT" |