-
Notifications
You must be signed in to change notification settings - Fork 3
krun-ubuntu initial version #192
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
Conversation
|
I did some testing and it works. You can remove the arm64 support for now, the others don't support it yet, we can add all of them together as a second step. Also please make sure to have the same command line order as krun-fedora.sh and krun-rhel.sh I'm fine with updating them all to be more verbose like the one here (usage should still be lower case though). |
Uh now I realize the order is the same, if you remove the arch option, but that is too weird, an optional parameter in between two required ones, how about you move the arch to a |
|
Some more points
|
|
thanks for the review, I fixed whitespace, style, logs, usage, args, cleaning up tmp on success path, some other stuff |
I've fixed some more things, basically made them a bit more similar to rhel/fedora, and added the tests to the CI, you can see on the build there. I'm ok with the current state, if you're ok with it too, just squash it into a nice commit message (we're trying to do proper commit messages once they make it to the tree), and you can merge. |
Add krun-ubuntu.sh which downloads and extracts kernel image from official Ubuntu mirrors, then hands it off to generic krun.sh. Handle both compressed and uncompressed kernels. Support 20.04, 22.04, 24.04, 25.04, amd64 only for now. Add Ubuntu to buildkite CI. Enhance all distro scripts with better logging and error handling.
3507a66 to
ddb12c7
Compare
|
Looks great, I squashed the commits. You can ACK and merge |
needs review, arm64 not properly tested yet (getting ERANGE)
issue: #150