Skip to content

cheribsd-release: build vm images #413

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 2, 2025
Merged

cheribsd-release: build vm images #413

merged 2 commits into from
Jun 2, 2025

Conversation

brooksdavis
Copy link
Member

In conjunction with the changes in
CTSRD-CHERI/cheribsd#2360 this produces ciimages/FreeBSD-15.0-CURRENT-arm64-aarch64c-BASIC-CI-ufs.raw.xz in the output directory for cheribsd-release-morello-purecap. The result is untested, but likely a usable starting point if cross build actually works.

I think we'll likely require some manual testing before this lands or it needs to got under a switch, but it should let people try it out.

@brooksdavis
Copy link
Member Author

Yeah, a bit more poking shows there's no METALOG use in the disk image so ownership will all be wrong so I need to clean that up on the CheriBSD side (or see if the foundation has a WIP far enough along to help).

@brooksdavis brooksdavis force-pushed the release-vm-images branch 2 times, most recently from 5688006 to c9d0bab Compare March 14, 2025 22:22
@brooksdavis brooksdavis requested a review from jrtc27 April 1, 2025 18:01
@brooksdavis brooksdavis force-pushed the release-vm-images branch 4 times, most recently from d6e56a8 to 36b0baf Compare April 4, 2025 18:31
@brooksdavis brooksdavis force-pushed the release-vm-images branch 2 times, most recently from b389f65 to a14224d Compare May 28, 2025 16:55
It fails during uinstall  and the tests run fine without the upgrade.
Leave it comment out as a reminder that we used to do this.
I've put support behind a flag as older CheriBSD trees will break
without patchs.

If you add the flag

--cheribsd-release/build-vm-images

to a cheribsd-release-* target and the source tree supports it, an image
or images will be built as part of the release process.
@brooksdavis brooksdavis requested a review from jrtc27 May 28, 2025 18:20
@brooksdavis brooksdavis merged commit 64cfcbd into main Jun 2, 2025
1 check passed
@brooksdavis brooksdavis deleted the release-vm-images branch June 2, 2025 16:21
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.

2 participants