Skip to content

Conversation

jeckersb
Copy link
Collaborator

Signed-off-by: John Eckersberg [email protected]

@jeckersb
Copy link
Collaborator Author

requires bootc parts - bootc-dev/bootc#1611

Copy link
Collaborator

@cgwalters cgwalters left a comment

Choose a reason for hiding this comment

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

Looks sane to me overall, though I am a bit uncertain if bootc will continue to use these portions of composefs-boot.


[dependencies]
anyhow = { version = "1.0.87", default-features = false }
bootc-kernel-cmdline = { git = "https://github.com/jeckersb/bootc", branch = "cmdline" }
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a git-repository-level circular dependency - that's what I was trying to get at earlier. It works fine at the Rust level of course because we're only compiling an individual crate from that git repo.

OTOH doing this will make it easier to share private dependencies between these two projects, so I'm overall in favor.

In theory of course in the future we could actually publish the cmdline crate. I know there's at least one other probable user in e.g. https://github.com/coreos/afterburn/blob/5191ebd8d9d8ead57e8c2abae74028d223028750/src/util/cmdline.rs#L66

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah I think publishing it would probably be best, it's generally useful. Plus right now the CI here is failing because it's unpublished so it would fix that instead of requiring us to disable it or hack around it.

Copy link
Collaborator

Choose a reason for hiding this comment

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

The simplest thing honestly seems to me to not touch the karg parsing in composefs-boot right now and move on to higher priority things.

But yeah we can definitely publish the crate, I'd like to improve our automation for doing so for the other crates in the bootc-dev org.

@jeckersb jeckersb force-pushed the bootc-kernel-cmdline branch from 3172b7a to db72642 Compare September 15, 2025 13:55
@jeckersb
Copy link
Collaborator Author

Updated Cargo.toml to at least point to bootc where bootc-dev/bootc#1611 was merged in, rather than my fork

@jeckersb jeckersb marked this pull request as ready for review September 15, 2025 14:00
@jeckersb
Copy link
Collaborator Author

Moving this back to draft until we can get bootc-dev/infra#20 sorted out

@jeckersb jeckersb marked this pull request as draft September 22, 2025 14:28
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