Skip to content

Fix kernelArgs not parsing kernel 'init' parameter with command line arguments #634

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

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

Conversation

juanfrnz
Copy link

@juanfrnz juanfrnz commented Mar 5, 2025

Description of changes:

kernelArgs fails while parsing "init" kernel parameters with extra command line arguments. For example the following kernel args gets incorrectly parsed:

console=ttyS0 reboot=k panic=1 pci=off init=/bin/sh -- -c "echo hello"

This PR follows the requirements for command line arguments stated at: https://docs.kernel.org/admin-guide/kernel-parameters.html

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@juanfrnz juanfrnz requested a review from a team as a code owner March 5, 2025 15:57
@swagatbora90
Copy link
Contributor

@juanfrnz Thanks for the PR.

Looks like it is missing DCO signoff. Please add tthat to the commit https://github.com/firecracker-microvm/firecracker-go-sdk/blob/main/CONTRIBUTING.md#sign-your-work

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