Skip to content
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

container/encapsulate: Support copying commit metadata keys #234

Merged
merged 1 commit into from
Feb 3, 2022

Conversation

cgwalters
Copy link
Member

For coreos/coreos-assembler#2685
we want to copy e.g. rpmostree.input-hash into the container image.
Extend the ExportOpts struct to support this, and also expose
it via the CLI, e.g.
ostree container encapsulate --copymeta=rpmostree.input-hash ....

And while I was thinking about this...we should by default copy
some core ostree keys, such as ostree.bootable and ostree.linux
since they are key pieces of metadata.

For coreos/coreos-assembler#2685
we want to copy e.g. `rpmostree.input-hash` into the container image.
Extend the `ExportOpts` struct to support this, and also expose
it via the CLI, e.g.
`ostree container encapsulate --copymeta=rpmostree.input-hash ...`.

And while I was thinking about this...we should by default copy
some core ostree keys, such as `ostree.bootable` and `ostree.linux`
since they are key pieces of metadata.
@cgwalters
Copy link
Member Author

OK yeah, there's some bug in cargo fmt where it's non-idempotent in this case of content inside the indoc! macro.

@cgwalters cgwalters merged commit 7967edb into ostreedev:main Feb 3, 2022
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.

None yet

2 participants