@@ -48,8 +48,13 @@ One tarball:
4848
4949` LICENSE ` and ` NOTICE ` sit at the root of the tarball.
5050
51- ` task build ` writes that same tree into ` _output/ ` , byte for byte the layout above, and
52- ` machine.OpenRelease ` reads either. ` _output/bin/ ` holds one thing more: ` spin-machine ` ,
51+ ` task build ` writes that same tree into ` _output/ ` , and ` machine.OpenRelease ` reads
52+ either. What a release has beyond a build directory is what ` hack/release ` creates or
53+ copies when it names one: ` machine.env ` and ` SOURCES ` it writes, and the QEMU and qboot
54+ patches under ` qemu/ ` it takes from this repository, not from the build. A tree without
55+ a manifest is still a release for every purpose except being named — the fingerprint
56+ decides whether checkpoints resume, and it is computed from the files, not from
57+ ` machine.env ` . ` _output/bin/ ` holds one thing more: ` spin-machine ` ,
5358which ` task tools ` builds for working in this repository and ` hack/release ` does not ship —
5459a release is the machine, not the tool that boots it. There is one layout: nothing rearranges
5560the files on the way out of a build, into a tarball or into a consumer. Let the three differ
@@ -85,8 +90,10 @@ printf '\n\n\n\n\n\n\n\n\n\nmount -t proc proc /proc\necho hello from $(uname -r
8590so the script mounts ` /proc ` itself — ` poweroff ` refuses without it. The leading blank
8691lines are load-bearing: the guest's shell is not reading its console when QEMU starts
8792feeding it, so the first bytes of the first line are lost, and the blanks absorb that
88- instead of the first real command. Nothing touches the base image — without ` --disk ` ,
89- QEMU boots it under a throwaway overlay (` -snapshot ` ).
93+ instead of the first real command. How far that window reaches is host timing, not a
94+ line count — a quiet host may lose nothing — so treat the number of blanks as
95+ insurance, not a figure to trim: a blank costs one prompt. Nothing touches the base
96+ image — without ` --disk ` , QEMU boots it under a throwaway overlay (` -snapshot ` ).
9097
9198Read the output by grepping a marker, since the guest's prompt and the kernel's boot
9299chatter share stdout: ` | grep -a MARKER ` . The exit status is QEMU's, so a script that
0 commit comments