forked from ostreedev/ostree
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kargs: parse spaces in kargs input and keep quotes
According to Jonathan's suggestion, should fix this from ostree repo. With this patch: - kargs input like "init_on_alloc=1 init_on_free=1", will be parsed as 2 seperated arg `init_on_alloc=1` and `init_on_free=1`, instead of as whole; - According to https://www.kernel.org/doc/html/v4.14/admin-guide/kernel-parameters.html, should keep spaces in double-quotes, like `param="spaces in here"` will be parsed as whole instead of 3. Fixes coreos/rpm-ostree#4821
- Loading branch information
1 parent
f1e663b
commit f00fa27
Showing
3 changed files
with
172 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters