Skip to content

Custom toml parsing for prepare-root.conf #118

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

Closed
wants to merge 1 commit into from

Conversation

Johan-Liebert1
Copy link
Collaborator

Bootc images have the file "/usr/lib/ostree/prepare-root.conf" with the following contents:

[composefs]
enable = yes

"enable = yes" is not valid toml, so serde panics while parsing.

Copy link
Collaborator

@allisonkarlitskaya allisonkarlitskaya left a comment

Choose a reason for hiding this comment

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

I think this is a "no". I talked about this with Colin (and in context of #86) and I think the correct answer here is that we have our own file location and it's straight up toml.

See #116 for what I did there: I just renamed the file...

Instead of parsing ostree's toml config, we will have and parse
composefs-rs config located at `/usr/lib/composefs/setup-root-conf.toml`

Signed-off-by: Pragyan Poudyal <[email protected]>
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