Skip to content

Exercise Mere shell and offline builds in the QEMU guest - #639

Merged
jhuntwork merged 1 commit into
mainfrom
mere-guest-tests
Nov 1, 2026
Merged

jhuntwork merged 1 commit into
mainfrom
mere-guest-tests

Conversation

@jhuntwork

@jhuntwork jhuntwork commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

The disk guest previously verified dinit boot without exercising Mere itself. Add test/qemu/mere-smoke, reusing the existing preparation and boot flow, to run the supplied static Mere binary inside the guest, enter a profile, build a tiny recipe, and validate the resulting archive payload.

Guest builds run offline against copied upstream signed metadata and downloaded packages. An intentionally failing recipe must make Mere return 1, report the recipe's exit code 7, and produce no package. Results retain serial output, input identities, ELF headers, repository hashes, and fixture sources. The guest root now includes /home, required by Mere shell's bind mounts.

Host setup/replay still requires network access and repository retention. Production service lifecycle and bootloader validation remain separate under #634.

Closes #635.

@jhuntwork jhuntwork mentioned this pull request Nov 1, 2026
9 tasks done
@jhuntwork
jhuntwork merged commit 34548f9 into main Nov 1, 2026
1 check passed
@jhuntwork
jhuntwork deleted the mere-guest-tests branch November 1, 2026 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a reproducible QEMU guest test harness

1 participant