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

WIP: kernel-install integration #5097

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cgwalters
Copy link
Member

@cgwalters cgwalters commented Sep 16, 2024

I only typed this up and made it compile. It's obviously tremendously ugly and will probably catch fire when I try to actually test it.

Sending it out so folks can see what I'm thinking.

Closes #4726

I only typed this up and made it compile. It's obviously
tremendously ugly and will probably catch fire when I
try to actually test it.

Sending it out so folks can see what I'm thinking.

Signed-off-by: Colin Walters <walters@verbum.org>
Copy link

openshift-ci bot commented Sep 16, 2024

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-merge-robot
Copy link
Collaborator

PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@@ -74,7 +73,6 @@ pub fn entrypoint(args: &[&str]) -> Result<()> {
"yum" | "dnf" => Ok(self::yumdnf::main(host_type, args)?),
"dracut" => Ok(self::dracut::main(args)?),
"grubby" => Ok(self::grubby::main(args)?),
"kernel-install" => Ok(self::kernel_install::main(args)?),
_ => Err(anyhow!("Unknown wrapped binary: {}", name)),
Copy link
Member

Choose a reason for hiding this comment

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

This error is triggered now, I am testing with this container file:

FROM quay.io/fedora/fedora-kinoite:40
ADD target/debug/rpm-ostree /usr/bin/rpm-ostree
RUN echo "layout=ostree" > /usr/lib/kernel/install.conf
RUN cat /usr/lib/kernel/install.conf
RUN rpm-ostree override replace https://koji.fedoraproject.org/koji/buildinfo?buildID=2561864

Trying to workaround that next.

@jmarrero
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate with kernel-install.d
3 participants