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

kargs: parse spaces in kargs input and keep quotes #3208

Merged
merged 1 commit into from
Mar 11, 2024

Commits on Mar 8, 2024

  1. kargs: parse spaces in kargs input and keep quotes

    According to Jonathan's suggestion, should fix the code from
    ostree repo.
    
    With this patch:
    - kargs input like "init_on_alloc=1 init_on_free=1", will be
    parsed as 2 seperated args `init_on_alloc=1` and `init_on_free=1`,
    instead of whole;
    - According to https://www.kernel.org/doc/html/v4.14/admin-guide/kernel-parameters.html,
    need to keep spaces in double-quotes, like `param="spaces in here"`
    will be parsed as whole instead of 3.
    
    Fixes coreos/rpm-ostree#4821
    HuijingHei committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    abc7d5b View commit details
    Browse the repository at this point in the history