Skip to content

feat: Add rom support#303

Merged
craciunoiuc merged 2 commits into
stagingfrom
jedevc/roms
May 8, 2026
Merged

feat: Add rom support#303
craciunoiuc merged 2 commits into
stagingfrom
jedevc/roms

Conversation

@jedevc
Copy link
Copy Markdown
Member

@jedevc jedevc commented Apr 28, 2026

Allowing both building and creating instances with mounted ROMs.

Fixes https://linear.app/unikraft/issue/TOOL-695/rom-support-in-cli.

TODO:

@jedevc jedevc force-pushed the jedevc/roms branch 2 times, most recently from fe4f647 to cf07ac2 Compare May 6, 2026 13:52
@jedevc jedevc requested a review from Copilot May 6, 2026 13:53

This comment was marked as resolved.

@jedevc jedevc requested a review from Copilot May 6, 2026 14:40
@jedevc jedevc marked this pull request as ready for review May 6, 2026 14:40
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 24 out of 25 changed files in this pull request and generated 6 comments.

Comment thread internal/cmd/instances.go Outdated
Comment thread internal/cmd/instances.go Outdated
Comment thread internal/cmd/instances.go Outdated
Comment thread internal/cmd/instances.go
Comment thread internal/cmd/instances.go
Comment thread internal/builder/build.go
@jedevc jedevc requested a review from nderjung May 6, 2026 17:56
@jedevc
Copy link
Copy Markdown
Member Author

jedevc commented May 6, 2026

Grrr, copilot is right, I will look at this later 😠

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 30 out of 31 changed files in this pull request and generated 2 comments.

Comment thread internal/resource/value/parse.go
Comment thread internal/builder/build.go Outdated
@jedevc jedevc requested a review from craciunoiuc May 7, 2026 07:54
Copy link
Copy Markdown
Member

@craciunoiuc craciunoiuc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some comments my side 😳

Comment thread internal/builder/build.go
Comment thread internal/builder/build.go
Comment thread internal/builder/build.go
Comment thread internal/builder/build.go Outdated
Comment thread internal/builder/kraftfile.go Outdated
Comment thread internal/cmd/instance_templates.go
Comment thread internal/cmd/instances.go Outdated
Comment thread internal/cmd/instances.go Outdated
Comment thread internal/cmd/instances.go
Comment thread internal/cmd/services.go
We should have been showing these the whole time! They're real fields!

Signed-off-by: Justin Chadwell <justin@unikraft.com>
Allowing both building and creating instances with mounted ROMs.

Note, this does contain breaking changes - previously, doing
`--set services=service1,service2` would work. However, now, this must be
split into `--set services=service1 --set services=service2`.
This means we can now have comma separated values in the ROM values
themselves.

Signed-off-by: Justin Chadwell <justin@unikraft.com>
@jedevc jedevc requested a review from craciunoiuc May 8, 2026 14:59
Copy link
Copy Markdown
Member

@craciunoiuc craciunoiuc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good here. Thanks!

Reviewed-by: Cezar Craciunoiu <cezar.craciunoiu@unikraft.com>
Approved-by: Cezar Craciunoiu <cezar.craciunoiu@unikraft.com>

@craciunoiuc craciunoiuc merged commit d20bdff into staging May 8, 2026
10 checks passed
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.

3 participants